Learn R Programming

BayesFactor (version 0.9.0)

extractBF: Extract the Bayes factor from an object

Description

Extract the Bayes factor from an object

Arguments

x
object from which to extract the Bayes factor
...
arguments passed to and from related methods

Value

  • Returns an object containing Bayes factors extracted from the object

Examples

Run this code
## Sample from the posteriors for two models
data(puzzles)

bf = lmBF(RT ~ shape*color + ID, data = puzzles, whichRandom="ID", progress=FALSE)

extractBF(bf)

Run the code above in your browser using DataLab