Learn R Programming

bfp (version 0.0-48)

getLogPrior: Extract the log prior probability from a model.

Description

Extract the log prior probability from the first model saved in a BayesMfp object.

Usage

getLogPrior(x)

Arguments

x

a valid BayesMfp-Object of length 1 (otherwise only first element recognized)

Author

Daniel Saban\'es Bov\'e

Details

Note that the returned value might be only defined up to a constant, because some models might not be identifiable or have a dimension too large, and are thus implicitly assigned a zero prior probabibility.

See Also

getLogMargLik