[R-sig-eco] vegan::adonis, SS, order of terms

Jari Oksanen jari.oksanen at oulu.fi
Wed Feb 1 11:40:58 CET 2012


On 01/02/2012, at 06:52 AM, Oliver Soong wrote:

> Are the vegan::adonis sums of squares supposed to depend on the order of the
> terms?  

Yes, the terms are added sequentially, just like in ordinary R anova, and they are order-dependent. The next release version of vegan will show this information (I just committed the change to R-Forge).

> I'm trying to understand permutational MANOVA, and this
> disagrees with my reading of Anderson 2001.
> 
> library(vegan)
> data(dune)
> data(dune.env)
> adonis(dune ~ A1 + Management, dune.env)
> adonis(dune ~ Management + A1, dune.env)
> 
So *how* does this disagree with your reading?

Cheers, Jari Oksanen
-- 
Jari Oksanen, Dept Biology, Univ Oulu, 90014 Finland



More information about the R-sig-ecology mailing list