The BFodds
class is a general S4 class for representing models model comparison via prior or posterior odds.
# S4 method for numeric,BFodds
/(e1, e2)# S4 method for BFodds,BFodds
/(e1, e2)
# S4 method for BFodds,BFBayesFactor
*(e1, e2)
# S4 method for BFodds,index,missing,missing
[(x, i, j, ..., drop = TRUE)
Numerator of the ratio
Denominator of the ratio
BFodds object
indices indicating elements to extract
unused for BFodds objects
further arguments passed to related methods
unused
BFodds
objects can be inverted by taking the reciprocal and can
be divided by one another, provided both objects have the same denominator. In addition,
the t
(transpose) method can be used to invert odds objects.
a list of models all inheriting BFmodel
, each providing a single numerator
a single BFmodel
object serving as the denominator for all model comparisons
a data frame containing information about the (log) prior odds between each numerator and the denominator
a BFBayesFactor
object (possibly) containing the evidence from the data.
character string giving the version and revision number of the package that the model was created in