[R-sig-eco] "partial" ordination

Duarte Viana viana.sptd at gmail.com
Fri Jan 24 16:56:19 CET 2014


Hello all,

I'm interested in applying an ordination method (e.g. PCA or NMDS) to
a species matrix. However, I want to remove the potential effect of
the environment, which I'm not interested in modelling, from the
ordination (i.e. partialling out the environmental effect).

I've thought in the following approach (with the vegan package):

# spe: species matrix
# env: environment matrix
partial.pca<-rda(spe~1+Condition(env))
plot(partial.pca)

Is this a reasonable approach?

Some feedback would be great.
Thanks,

Duarte



More information about the R-sig-ecology mailing list