[R-sig-eco] adonis with continuous variables

Jari Oksanen jari.oksanen at oulu.fi
Thu Mar 10 10:36:43 CET 2011


On 10/03/11 11:25 AM, "alfredo Tello" <alfredotello at gmail.com> wrote:

> Hi Jari,
> 
> Thanks for your prompt reply. That clears things up, although you've left me
> with a doubt. You said:
> 
> "Indeed, adonis() can use only continuous variables, it is documented to do
> so, and this was initially intended."
> 
> Are you saying that categorical variables should not be used in adonis() as
> explanatory variables?

No, I didn't say so. You didn't ask about that so I didn't answer. You can
use continuous variables and factors just like usual in models with formula.

> Anderson (2001) initially describes the method (although adonis might be
> implemented differently) for categorical variables if I'm not mistaken. Then
> again, the vegan documentation says that explanatory variables can be
> factors. This is what's left me a bit confused.
> 
Yes, they *can* be factors. They *can* also be something else than factors.

Cheers, Jari Oksanen

> Thanks in advance for clearing this up.
> 
> Cheers,
> 
> A
> 
> --
> View this message in context:
> http://r-sig-ecology.471788.n2.nabble.com/adonis-with-continuous-variables-tp6
> 155914p6157029.html
> Sent from the r-sig-ecology mailing list archive at Nabble.com.
> 
> _______________________________________________
> R-sig-ecology mailing list
> R-sig-ecology at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology



More information about the R-sig-ecology mailing list