# NOT RUN {
set.seed(123)
# between-subjects ---------------------------------------
# with defaults
statsExpressions::expr_anova_bayes(
data = ggplot2::msleep,
x = vore,
y = sleep_rem
)
# modifying the defaults
statsExpressions::expr_anova_bayes(
data = ggplot2::msleep,
x = vore,
y = sleep_rem,
k = 3,
bf.prior = 0.8
)
# repeated measures ---------------------------------------
statsExpressions::expr_anova_bayes(
data = WRS2::WineTasting,
x = Wine,
y = Taste,
paired = TRUE,
k = 4
)
# }
Run the code above in your browser using DataLab