50% off: Unlimited data and AI learning.
The Learning Leader's Guide to AI Literacy

HDANOVA (version 0.8.3)

permutation: Permutation for HDANOVA

Description

Permutation testing for HDANOVA. This function performes permutation testing for the effects in the HDANOVA model and adds them to the hdanova object.

Usage

permutation(object, permute = 1000, perm.type = c("approximate", "exact"))

Value

An updated hdanova object with permutation results.

Arguments

object

A hdanova object.

permute

Number of permutations to perform (default = 1000).

perm.type

Type of permutation to perform, either "approximate" or "exact" (default = "approximate").

Examples

Run this code
# 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