data(arabidopsis)
## takes about ~45 s. on a laptop.
HLCor(cbind(pos1046738,1-pos1046738)~seasonal+Matern(1|LAT+LONG),
ranPars=list(rho=0.129,lambda=4.28,nu=0.291),
family=binomial(),HLmethod="PQL/L",data=arabidopsis)
## the above ranPars are deduced from an hours-long analysis:
verylong <- corrHLfit(cbind(pos1046738,1-pos1046738)~seasonal+Matern(1|LAT+LONG),
family=binomial(),HLmethod="PQL/L",data=arabidopsis)
summary(verylong)
Run the code above in your browser using DataLab