Hi Tracy,

You can try this:

require (vegan)

data(mite)
data(mite.env)
data(mite.xy)

mod<- rda (mite~., data=mite.env)
res<-residuals(mod)

require (spacemakeR)

vario<-variogmultiv(res, mite.xy)
plot(vario$d, vario$var, ty='b',pch=20,xlab="Distance", ylab="C(distance)")


But, I'm not sure. Maybe to implement spatial variables in the model through
spatial eigenfuncion analysis (e.g., db-MEM, MEM) also could be very useful.

Hope this helps.

Best



--
View this message in context: 
http://r-sig-ecology.471788.n2.nabble.com/residuals-in-RDA-and-test-for-spatial-autocorrelation-tp7578814p7578818.html
Sent from the r-sig-ecology mailing list archive at Nabble.com.

_______________________________________________
R-sig-ecology mailing list
R-sig-ecology@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-ecology

Reply via email to