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"),
  nchar.trts = x$nchar.trts,
  nchar.studlab = x$nchar.studlab,
  details.methods = gs("details"),
  legend = gs("legend"),
  legend.studlab = 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.

nchar.trts

A numeric defining the minimum number of characters used to create unique treatment names (see Details).

nchar.studlab

A numeric defining the minimum number of characters used to create unique study labels.

details.methods

A logical specifying whether details on statistical methods should be printed.

legend

A logical indicating whether a legend should be printed.

legend.studlab

A logical indicating whether a legend should be printed for abbreviated study labels.

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, dat.franchini2012

Examples

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

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


netmeta documentation built on April 3, 2025, 6:12 p.m.