# NOT RUN {
# uses dataset included in the `groupedstats` package
set.seed(123)
library(groupedstats)
# effect size
groupedstats::grouped_aov(
formula = wt ~ mpg,
data = mtcars,
grouping.vars = am,
effsize = "eta"
)
# }
Run the code above in your browser using DataLab