print.rankogram: Print method for rankograms

View source: R/print.rankogram.R

print.rankogramR Documentation

Print method for rankograms

Description

Print method for objects of class rankogram.

Usage

## S3 method for class 'rankogram'
print(
  x,
  common = x$common,
  random = x$random,
  cumulative.rankprob = x$cumulative.rankprob,
  sort = TRUE,
  nchar.trts = x$nchar.trts,
  digits = gs("digits.prop"),
  legend = gs("legend"),
  warn.deprecated = gs("warn.deprecated"),
  ...
)

Arguments

x

An R object of class rankogram.

common

A logical indicating to print ranking probabilities and SUCRAs for the common effects model.

random

A logical indicating to print ranking probabilities and SUCRAs for the random effects model.

cumulative.rankprob

A logical indicating whether cumulative ranking probabilities should be printed.

sort

A logical indicating whether treatments should be sorted by decreasing SUCRAs.

nchar.trts

A numeric defining the minimum number of characters used to create unique treatment names.

digits

Minimal number of significant digits, see print.default.

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 for printing.

Author(s)

Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de

References

Salanti G, Ades AE, Ioannidis JP (2011): Graphical methods and numerical summaries for presenting results from multiple-treatment meta-analysis: an overview and tutorial. Journal of Clinical Epidemiology, 64, 163–71

See Also

rankogram, plot.rankogram, dat.woods2010

Examples

pw1 <- pairwise(treatment, event = r, n = N, studlab = author,
  data = dat.woods2010, sm = "OR")
net1 <- netmeta(pw1, small.values = "desirable")

ran1 <- rankogram(net1, nsim = 100)
ran1
print(ran1, cumulative.rankprob = TRUE)


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