Learn R Programming

meta4diag (version 2.1.1)

summary: Provide summary information.

Description

Takes a fitted meta4diag object produced by meta4diag() and produces a summary from it.

Usage

# S3 method for meta4diag
summary(object,...)

Arguments

object

a fitted meta4diag object as produced by meta4diag().

...

other arguments may be useful.

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 plot() function.

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.

See Also

plot,meta4diag

Examples

Run this code
# NOT RUN {
if(requireNamespace("INLA", quietly = TRUE)){
  require("INLA", quietly = TRUE)
  data(Catheter)
  res <- meta4diag(data = Catheter)
  summary(res)
  }
# }

Run the code above in your browser using DataLab