View source: R/pvEBayes_object_S3_methods.R
logLik.pvEBayes | R Documentation |
This function defines the S3 logLik
method for objects of class
pvEBayes
. It extracts the log marginal likelihood from a fitted
model.
## S3 method for class 'pvEBayes'
logLik(object, ...)
object |
a |
... |
other input parameters. Currently unused. |
returns log marginal likelihood of a pvEBayes object.
fit <- pvEBayes(
contin_table = statin2025_44, model = "general-gamma",
alpha = 0.3, n_posterior_draws = NULL
)
logLik(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.