Skip to content
Prev 2843 / 7420 Next

split-split-plot design and adonis

Also have a look at the new permute package:
http://cran.r-project.org/web/packages/permute/index.html

AFAIK permute is not fully hooked up in vegan at the moment (at least 
not in adonis),
but you could hack the adonis function to use shuffle() instead of 
permuted.index().

The permutation design, as proposed by Kay, would then look like this:

ctrl <- permControl(strata = Site,
                     within = Within(type = "none"),
                     blocks = Blocks(type = "free"))
table(Site, perm.Sediment = Sediment[shuffle(nobs, control = ctrl)])


HTH,

Edi
On 05/03/12 11:45, Kay Cichini wrote: