| adonis.II {RVAideMemoire} | R Documentation |
Type II permutation MANOVA using distance matrices
Description
This function is a wrapper to adonis but performs type II tests (whereas adonis performs type I).
Usage
adonis.II(formula, data, ...)
Arguments
formula |
a typical model formula such as |
data |
the data frame from which |
... |
additional arguments to |
Details
See adonis for detailed explanation of what is done. The only difference with adonis is that adonis.II performs type II tests instead of type I.
Value
a data frame of class "anova".
Author(s)
Maxime HERVE <maxime.herve@univ-rennes1.fr>
Examples
require(vegan)
data(dune)
data(dune.env)
# Compare:
adonis(dune~Management*A1,data=dune.env,permutations=99)
adonis(dune~A1*Management,data=dune.env,permutations=99)
# With:
adonis.II(dune~Management*A1,data=dune.env,permutations=99)
adonis.II(dune~A1*Management,data=dune.env,permutations=99)
[Package RVAideMemoire version 0.9-83-7 Index]