# NOT RUN {
# setup
set.seed(123)
library(statsExpressions)
# -------------- within-subjects design --------------------------------
# creating the subtitle
statsExpressions::expr_anova_nonparametric(
data = bugs_long,
x = condition,
y = desire,
paired = TRUE,
conf.level = 0.99,
k = 2
)
# -------------- between-subjects design --------------------------------
statsExpressions::expr_anova_nonparametric(
data = ggplot2::msleep,
x = vore,
y = sleep_rem,
paired = FALSE,
conf.level = 0.99,
conf.type = "perc"
)
# }
Run the code above in your browser using DataLab