# NOT RUN {
# uses dataset included in the `groupedstats` package
set.seed(123)
library(groupedstats)
# effect size
groupedstats::grouped_aov(
formula = rating ~ belief * outcome * question,
data = intent_morality,
grouping.vars = item,
effsize = "eta"
)
# pairwise comparisons
groupedstats::grouped_aov(
formula = rating ~ belief * outcome * question,
data = intent_morality,
grouping.vars = item,
output = "tukey"
)
# }
Run the code above in your browser using DataLab