# NOT RUN {
# setup
set.seed(123)
# between-subjects -------------------------------------------------------
bf_oneway_anova(
data = iris,
x = Species,
y = Sepal.Length,
bf.prior = 0.8
)
# within-subjects -------------------------------------------------------
bf_oneway_anova(
data = bugs_long,
x = condition,
y = desire,
paired = TRUE
)
# expression -------------------------------------------------------
bf_oneway_anova(
data = bugs_long,
x = condition,
y = desire,
paired = TRUE,
output = "null"
)
# }
Run the code above in your browser using DataLab