# NOT RUN {
# for reproducibility
set.seed(123)
library(tidyBF)
# to get dataframe
bf_corr_test(
data = anscombe,
x = x1,
y = y4,
bf.prior = 0.3,
output = "dataframe"
)
# to get expression
bf_corr_test(
data = anscombe,
x = x1,
y = y4,
bf.prior = 0.8,
output = "expression"
)
# }
Run the code above in your browser using DataLab