Learn R Programming

BayesFactor (version 0.9.1)

extractOdds: Extract the odds from an object

Description

Extract the odds from an object

Usage

extractOdds(x, logodds = FALSE, onlyodds = FALSE)

## S3 method for class 'BFodds': extractOdds(x, logodds = FALSE, onlyodds = FALSE)

Arguments

x
object from which to extract
logodds
return the logarithm
onlyodds
return a vector of only the odds

Value

  • Returns an object containing odds extracted from the object