print.netimpact: Print method for objects of class netimpact

View source: R/print.netimpact.R

print.netimpactR Documentation

Print method for objects of class netimpact

Description

Print method for objects of class netimpact.

Usage

## S3 method for class 'netimpact'
print(
  x,
  common = x$x$common,
  random = x$x$random,
  digits = gs("digits.prop"),
  legend = TRUE,
  warn.deprecated = gs("warn.deprecated"),
  ...
)

Arguments

x

An object of class netimpact.

common

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

random

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

digits

Minimal number of significant digits.

legend

A logical indicating whether a legend should be printed.

warn.deprecated

A logical indicating whether warnings should be printed if deprecated arguments are used.

...

Additional arguments (to catch deprecated arguments).

Author(s)

Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de

See Also

netimpact

Examples

data(Franchini2012)

# Only consider first two studies (to reduce runtime of example)
#
studies <- unique(Franchini2012$Study)
p1 <- pairwise(list(Treatment1, Treatment2, Treatment3),
  n = list(n1, n2, n3),
  mean = list(y1, y2, y3), sd = list(sd1, sd2, sd3),
  data = subset(Franchini2012, Study %in% studies[1:2]),
  studlab = Study)

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


netmeta documentation built on June 23, 2024, 9:06 a.m.