netmeta (version 1.2-1)

print.netimpact: Print method for objects of class netimpact

Description

Print method for objects of class netimpact.

Usage

# S3 method for netimpact
print(
  x,
  comb.fixed = x$x$comb.fixed,
  comb.random = x$x$comb.random,
  digits = gs("digits.prop"),
  ...
)

Arguments

x

An object of class netimpact.

comb.fixed

A logical indicating whether results for the fixed effects (common effects) model should be printed.

comb.random

A logical indicating whether results for the random effects model should be printed.

digits

Minimal number of significant digits.

Additional arguments (ignored).

See Also

netimpact

Examples

Run this code
# NOT RUN {
data(parkinson)

# Only consider first four studies (to reduce runtime of example)
#
p1 <- pairwise(list(Treatment1, Treatment2, Treatment3),
               n = list(n1, n2, n3),
               mean = list(y1, y2, y3),
               sd = list(sd1, sd2, sd3),
               data = subset(parkinson, Study < 5),
               studlab = Study)

net1 <- netmeta(p1)
ni <- netimpact(net1, verbose = TRUE)
ni

# }

Run the code above in your browser using DataLab