powered by
Extract the Bayes factor from an object
extractBF(x, logbf = FALSE, onlybf = FALSE)# S4 method for BFBayesFactor extractBF(x, logbf = FALSE, onlybf = FALSE)
# S4 method for BFBayesFactor extractBF(x, logbf = FALSE, onlybf = FALSE)
Returns an object containing Bayes factors extracted from the object
object from which to extract the Bayes factors
return the logarithm of the Bayes factors
return a vector of only the Bayes factors
## 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