permutation | R Documentation |
Permutation testing for HDANOVA. This function performes
permutation testing for the effects in the HDANOVA model and adds them to the
hdanova
object.
permutation(object, permute = 1000, perm.type = c("approximate", "exact"))
object |
A |
permute |
Number of permutations to perform (default = 1000). |
perm.type |
Type of permutation to perform, either "approximate" or "exact" (default = "approximate"). |
An updated hdanova
object with permutation results.
# Load candies data
data(candies)
# Basic HDANOVA model with two factors
mod <- hdanova(assessment ~ candy + assessor, data=candies)
mod <- permutation(mod)
summary(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.