# NOT RUN {
# ------------------- two-samples tests -----------------------------------
# for reproducibility
set.seed(123)
library(tidyBF)
# to get dataframe
bf_ttest(
data = mtcars,
x = am,
y = wt,
paired = FALSE,
bf.prior = 0.880
)
# ------------------- one-samples test -----------------------------------
# to get dataframe
bf_ttest(
data = iris,
x = Sepal.Length,
test.value = 5.85
)
# }
Run the code above in your browser using DataLab