summary {meta4diag} | R Documentation |
Provide summary information.
Description
Takes a fitted meta4diag
object produced by meta4diag()
and produces a summary from it.
Usage
## S3 method for class 'meta4diag'
summary(object,...)
Arguments
object |
a fitted |
... |
other arguments may be useful. |
Details
Posterior mean and standard deviation (together with quantiles) are printed for the fixed effects in the model.
For the random effects the function summary()
prints the
posterior mean and standard deviations of the hyperparameters.
Value
summary.meta4diag
returns a list with components:
cpu.used |
The cpu time used to fit the corresponding model and data. |
summary.fixed |
The posterior mean and standard deviation (together with quantiles) for the fixed effects. |
summary.expected.g |
The posterior mean and standard deviation (together with quantiles) for the summarized fixed effects. |
summary.hyperpar |
The posterior mean and standard deviation (together with quantiles) for model hyperparameters. |
mlik |
The marginal log-likelihood of the model. |
var.type |
The variables type used in the |
Author(s)
Jingyi Guo jingyi.guo@math.ntnu.no and Andrea Riebler andrea.riebler@math.ntnu.no
See Also
Examples
## Not run:
if(requireNamespace("INLA", quietly = TRUE)){
require("INLA", quietly = TRUE)
data(Catheter)
res <- meta4diag(data = Catheter)
summary(res)
}
## End(Not run)