Displaying 1 result from an estimated 1 matches for "yabund".
Did you mean:
abund
2009 Mar 09
1
Zero distance error in corSpatial - correlation structure using lme
...nif(ntot, min=1.9812, max=2.3932)
STX2<-rep(runif(ntrans, min=16.0921, max=16.4823), each=npertrans)
STY2<-rep(runif(ntrans, min=1.9812, max=2.3932), each=npertrans)
site<-rep(c(1,2,3), each=ntot/3)
tran<-rep(1:ntrans,each=npertrans)
log<-rep(rbinom(n=ntrans, 1, 0.5), each=npertrans)
yabund<-rnorm(ntot, 5, 0.4)
dat<-data.frame(STX1, STY1, STX2, STY2, site, tran, log, yabund)
test1<-lme(yabund~factor(log)+STX1+STY1, random=~1|tran,data=dat)
test2<-lme(yabund~factor(log)+STX2+STY2, random=~1|tran,data=dat)
Variogram(test1, form=~STX1+STY1|tran)
plot(Variogram(test1, form=~...