Learn R Programming

BayesFactor (version 0.9.1)

extractProbabilities: Extract the probabilities from an object

Description

Extract the probabilities from an object

Usage

extractProbabilities(x, logprobs = FALSE, onlyprobs = FALSE)

## S3 method for class 'BFprobability': extractProbabilities(x, logprobs = FALSE, onlyprobs = FALSE)

Arguments

x
object from which to extract
logprobs
return the logarithm
onlyprobs
return a vector of only the probabilities

Value

  • Returns an object containing probabilities extracted from the object