[R-sig-eco] residuals in RDA, and test for spatial autocorrelation
amommendes
amommendes at hotmail.com
Wed Apr 2 04:18:17 CEST 2014
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.
More information about the R-sig-ecology
mailing list