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