extractBF-methods: Extract the Bayes factor from an object

Description Arguments Value Examples

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

1
2
3
4
5
6
## Sample from the posteriors for two models
data(puzzles)

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

extractBF(bf)

Example output

Loading required package: coda
Loading required package: Matrix
************
Welcome to BayesFactor 0.9.12-2. If you have questions, please contact Richard Morey (richarddmorey@gmail.com).

Type BFManual() to open the manual.
************
                         bf      error                     time         code
shape * color + ID 473407.8 0.02074536 Thu Apr  5 12:31:11 2018 331e3819c734

BayesFactor documentation built on May 2, 2019, 5:54 p.m.