aov.P | R Documentation |
aov.P
uses permutation tests instead of classic theory tests to run a one-way or two-way ANOVA.
aov.P(dattab, treatment = NULL, be = NULL)
dattab |
The table on which the ANOVA has to be done, or a vector of responses. |
treatment |
If dattab is a table, ignored. If dattab is a vector, a vector of treatment labels. |
be |
If dattab is a table, ignored. If dattab is a vector, a vector of end points of blocks. In this case, blocks must form contiguous subvectors of dattab. If null, no blocking. |
The function calls a Fortran code to perform the permutation tests and the ANOVA. The function has to be applied directly on a cross-table of two variables.
A list with fields pv, the p-value obtained with the permutation tests, and tot, the total number of permutations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.