Learn R Programming

BayesFactor (version 0.9.12-4.7)

extractProbabilities: Extract the probabilities from an object

Description

Extract the probabilities from an object

Usage

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

# S4 method for BFprobability extractProbabilities(x, logprobs = FALSE, onlyprobs = FALSE)

Value

Returns an object containing probabilities extracted from the object

Arguments

x

object from which to extract

logprobs

return the logarithm

onlyprobs

return a vector of only the probabilities