Learn R Programming

netmeta (version 3.2-0)

print.summary.netmeta: Print detailed results of network meta-analysis

Description

Print method for objects of class summary.netmeta.

Usage

# S3 method for summary.netmeta
print(
  x,
  sortvar,
  common = x$x$common,
  random = x$x$random,
  prediction = x$prediction,
  reference.group = x$reference.group,
  baseline.reference = x$baseline.reference,
  all.treatments = x$all.treatments,
  details = TRUE,
  nma = TRUE,
  overall.hetstat = x$overall.hetstat,
  backtransf = x$backtransf,
  nchar.trts = x$nchar.trts,
  nchar.studlab = x$nchar.studlab,
  digits = gs("digits"),
  digits.se = gs("digits.se"),
  digits.pval.Q = max(gs("digits.pval.Q"), 2),
  digits.Q = gs("digits.Q"),
  digits.tau2 = gs("digits.tau2"),
  digits.I2 = gs("digits.I2"),
  big.mark = gs("big.mark"),
  scientific.pval = gs("scientific.pval"),
  zero.pval = gs("zero.pval"),
  JAMA.pval = gs("JAMA.pval"),
  print.tau2 = gs("print.tau2"),
  print.tau = gs("print.tau"),
  print.Q = gs("print.Q"),
  print.I2 = gs("print.I2"),
  print.I2.ci = gs("print.I2.ci"),
  truncate,
  text.truncate = "*** Output truncated ***",
  details.methods = gs("details"),
  legend = gs("legend"),
  warn.deprecated = gs("warn.deprecated"),
  ...
)

Arguments

x

An object of class summary.netmeta.

sortvar

An optional vector used to sort individual studies (must be of same length as x$TE).

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.

prediction

A logical indicating whether prediction intervals should be printed.

reference.group

Reference treatment.

baseline.reference

A logical indicating whether results should be expressed as comparisons of other treatments versus the reference treatment (default) or vice versa. This argument is only considered if reference.group has been specified.

all.treatments

A logical or "NULL". If TRUE, matrices with all treatment effects, and confidence limits will be printed.

details

A logical indicating whether further details for individual studies should be printed.

nma

A logical indicating whether summary results of network meta-analysis should be printed.

overall.hetstat

A logical indicating whether to print heterogeneity measures.

backtransf

A logical indicating whether results should be back transformed in printouts and forest plots. If backtransf = TRUE, results for sm = "OR" are presented as odds ratios rather than log odds ratios, for example.

nchar.trts

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

nchar.studlab

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

digits

Minimal number of significant digits, see print.default.

digits.se

Minimal number of significant digits for standard deviations and standard errors, see print.default.

digits.pval.Q

Minimal number of significant digits for p-value of heterogeneity tests, see print.default.

digits.Q

Minimal number of significant digits for heterogeneity statistics, see print.default.

digits.tau2

Minimal number of significant digits for between-study variance, see print.default.

digits.I2

Minimal number of significant digits for I-squared statistic, see print.default.

big.mark

A character used as thousands separator.

scientific.pval

A logical specifying whether p-values should be printed in scientific notation, e.g., 1.2345e-01 instead of 0.12345.

zero.pval

A logical specifying whether p-values should be printed with a leading zero.

JAMA.pval

A logical specifying whether p-values for test of overall effect should be printed according to JAMA reporting standards.

print.tau2

A logical specifying whether between-study variance \(\tau^2\) should be printed.

print.tau

A logical specifying whether \(\tau\), the square root of the between-study variance \(\tau^2\), should be printed.

print.Q

A logical value indicating whether to print the results of the test of heterogeneity.

print.I2

A logical specifying whether heterogeneity statistic I\(^2\) should be printed.

print.I2.ci

A logical specifying whether confidence interval for heterogeneity statistic I\(^2\) should be printed.

truncate

An optional vector used to truncate the printout of results for individual studies (must be a logical vector of length corresponding to the number of pairwise comparisons x$TE or contain numerical values).

text.truncate

A character string printed if study results were truncated from the printout.

details.methods

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

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.

See Also

netmeta, summary.netmeta

Examples

Run this code
# Examples: example(summary.netmeta)

Run the code above in your browser using DataLab