# NOT RUN {
# for reproducibility
set.seed(123)
library(tidyBF)
# creating caption (for null)
bf_expr(
BayesFactor::correlationBF(
x = iris$Sepal.Length,
y = iris$Petal.Length
),
output = "null",
k = 3,
caption = "Note: Iris dataset"
)
# }
Run the code above in your browser using DataLab