On 5/08/10 09:51 AM, "Maarten de Groot" <maarten.degr...@nib.si> wrote:

> Dear list,
> 
> I was wondering if there is a possibility to do model selection with the
> method adonis of the package Vegan. If so, could any one explain me
> about it or give me a hint were to look?
> 
Maarten,

Not automatically:

> m <- adonis(dune ~ ., dune.env)
> step(m)
Error in UseMethod("extractAIC") :
  no applicable method for 'extractAIC' applied to an object of class
"adonis"

So there is no extractAIC() function for adonis().

However, update() works and you can do manual model building if you find a
criterion to use:

> update(m, . ~ . - Use)

As usual, contributions are welcome.

Cheers, Jari Oksanen

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

Reply via email to