
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"))
An updated hdanova
object with permutation results.
A hdanova
object.
Number of permutations to perform (default = 1000).
Type of permutation to perform, either "approximate" or "exact" (default = "approximate").
# Load candies data
data(candies)
# Basic HDANOVA model with two factors
mod <- hdanova(assessment ~ candy + assessor, data=candies)
mod <- permutation(mod)
summary(mod)
Run the code above in your browser using DataLab