Learn R Programming

BayesFactor (version 0.9.1)

BFodds-class: General S4 class for representing multiple odds model comparisons, all against the same model

Description

The BFodds class is a general S4 class for representing models model comparison via prior or posterior odds.

Usage

## S3 method for class 'numeric,BFodds':
/(e1, e2)

## S3 method for class 'BFodds,BFodds': /(e1, e2)

## S3 method for class 'BFodds,BFBayesFactor': *(e1, e2)

## S3 method for class 'BFodds,index,missing,missing': [(x, i, j, ..., drop = TRUE)

Arguments

e1
Numerator of the ratio
e2
Denominator of the ratio
x
BFodds object
i
indices indicating elements to extract
j
unused for BFodds objects
...
further arguments passed to related methods
drop
unused

Details

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. The BFodds class has the following slots defined:,[object Object],[object Object],[object Object],[object Object],[object Object]