Learn R Programming

BayesFactor (version 0.9.12-4.7)

as.BFBayesFactor: Function to coerce objects to the BFBayesFactor class

Description

This function coerces objects to the BFBayesFactor class

Usage

as.BFBayesFactor(object)

Value

An object of class BFBayesFactor

Arguments

object

an object of appropriate class (for now, BFBayesFactorTop)

Author

Richard D. Morey (richarddmorey@gmail.com)

Details

Function to coerce objects to the BFBayesFactor class

Currently, this function will only work with objects of class BFBayesFactorTop, which are output from the functions anovaBF and regressionBF when the whichModels argument is set to 'top'

See Also

regressionBF, anovaBF whose output is appropriate for use with this function when whichModels='top'