as.BFprobability: Function to coerce objects to the BFprobability class

Description Usage Arguments Details Value Author(s)

View source: R/methods-BFprobability.R

Description

This function coerces objects to the BFprobability class

Usage

1
as.BFprobability(object, normalize = NULL, lognormalize = NULL)

Arguments

object

an object of appropriate class (BFodds)

normalize

the sum of the probabilities for all models in the object (1 by default)

lognormalize

alternative to normalize; the logarithm of the normalization constant (0 by default)

Details

Function to coerce objects to the BFprobability class

Currently, this function will only work with objects of class BFOdds.

Value

An object of class BFprobability

Author(s)

Richard D. Morey (richarddmorey@gmail.com)


BayesFactor documentation built on May 2, 2019, 7 a.m.