Performs a two-way permutation ANOVA, reporting main effects and interaction.
factorial_permutation_anova(
df,
factor1,
factor2,
vals,
n = 1000,
seed = 123,
ci = 0.95
)A tibble with:
Factor or interaction term.
Observed F-statistic.
Permutation p-value.
Lower bound of confidence interval.
Upper bound of confidence interval.