logml | R Documentation |
Generic function that returns log marginal likelihood from bridge objects. For objects of class "bridge_list"
, which contains multiple log marginal likelihoods, fun
is performed on the vector and its result returned.
logml(x, ...)
## S3 method for class 'bridge'
logml(x, ...)
## S3 method for class 'bridge_list'
logml(x, fun = median, ...)
x |
Object of class |
... |
Further arguments passed to |
fun |
Function which returns a scalar value and is applied to the |
scalar numeric
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.