print.summary.crossnma {crossnma}R Documentation

Print summary of cross-design & -format network meta-analysis or regression

Description

Print summary results for cross-design and cross-format network meta-analysis or meta-regression

Usage

## S3 method for class 'summary.crossnma'
print(x, digits = 3, ...)

Arguments

x

An object of class crossnma.

digits

The number of significant digits printed. The default value is 3.

...

Additional arguments.

Value

No return value (print function).

Author(s)

Tasnim Hamza tasnim.hamza@ispm.unibe.ch

See Also

summary.crossnma

Examples

# We conduct a network meta-analysis assuming a random-effects
# model.
# The data comes from randomized-controlled trials and
# non-randomized studies (combined naively)
head(ipddata) # participant-level data
head(stddata) # study-level data

# Create a JAGS model
mod <- crossnma.model(treat, id, relapse, n, design,
  prt.data = ipddata, std.data = stddata,
  reference = "A", trt.effect = "random", method.bias = "naive")

# Fit JAGS model
# (suppress warning 'Adaptation incomplete' due to n.adapt = 20)
fit <-
  suppressWarnings(crossnma(mod, n.adapt = 20,
    n.iter = 50, thin = 1, n.chains = 3))

# Display the output (with 5 digits)
print(summary(fit), digits = 5)


[Package crossnma version 1.0.1 Index]