# NOT RUN {
# }
# NOT RUN {
# for reproducibility
set.seed(123)
# ------------------------ between-subjects -----------------------------
# going with the defaults
statsExpressions::expr_anova_robust(
data = ggplot2::midwest,
x = state,
y = percbelowpoverty,
paired = FALSE,
nboot = 10
)
# changing defaults
expr_anova_robust(
data = ggplot2::midwest,
x = state,
y = percollege,
paired = FALSE,
conf.level = 0.99,
tr = 0.2,
nboot = 10
)
# ------------------------ within-subjects -----------------------------
statsExpressions::expr_anova_robust(
data = iris_long,
x = condition,
y = value,
paired = TRUE,
tr = 0.2,
k = 3
)
# }
Run the code above in your browser using DataLab