Unlimited learning, half price | 50% off
Get 50% off unlimited learning

tidyBF (version 0.3.0)

bf_extractor: Extract Bayes Factors from BayesFactor model object.

Description

Extract Bayes Factors from BayesFactor model object.

Usage

bf_extractor(bf.object, ...)

Arguments

bf.object

An object from BayesFactor package.

...

Additional arguments passed to parameters::model_parameters.BFBayesFactor().

Examples

Run this code
# NOT RUN {
set.seed(123)

# creating a `BayesFactor` object
bf_obj <-
  BayesFactor::anovaBF(
    formula = Sepal.Length ~ Species,
    data = iris,
    progress = FALSE
  )

# extracting Bayes Factors in a dataframe
bf_extractor(bf_obj)
# }

Run the code above in your browser using DataLab