summary.pvEBayes {pvEBayes} | R Documentation |
Summary method for a pvEBayes object
Description
This function defines the S3 summary
method for objects of class
pvEBayes
. It provides a detailed summary of the fitted model.
Usage
## S3 method for class 'pvEBayes'
summary(object, return = NULL, ...)
Arguments
object |
a |
return |
A character string specifying which component the summary function should return.Valid options include: "prior parameters", "likelihood", "detected signal" and "posterior draws". If set to NULL (default), all components will be returned in a list. |
... |
other input parameters. Currently unused. |
Value
a list including estimated prior parameters, log_marginal_likelihood, indicator matrix of detected signal and posterior_draws for each AE-drug pair.
Examples
obj <- pvEBayes(
contin_table = statin2025_44, model = "general-gamma",
alpha = 0.5, n_posterior_draws = 10000
)
summary(obj)
[Package pvEBayes version 0.1.1 Index]