Learn R Programming

netmeta (version 0.7-0)

print.netmeta: Print and summary method for objects of class netmeta

Description

Print and summary method for objects of class netmeta.

Usage

## S3 method for class 'netmeta':
print(x, sortvar, level=x$level, level.comb=x$level.comb,
      comb.fixed=x$comb.fixed, comb.random=x$comb.random,
      reference.group=x$reference.group, all.treatments=x$all.treatments,
      details=TRUE, ma=TRUE, logscale=FALSE,
      digits=max(4, .Options$digits - 3), ...)

## S3 method for class 'netmeta': summary(object, level=object$level, level.comb=object$level.comb, comb.fixed=object$comb.fixed, comb.random=object$comb.random, reference.group=object$reference.group, all.treatments=object$all.treatments, warn=object$warn, ...)

## S3 method for class 'summary.netmeta': print(x, comb.fixed=x$comb.fixed, comb.random=x$comb.random, reference.group=x$reference.group, all.treatments=x$all.treatments, logscale=FALSE, header=TRUE, digits=max(3, .Options$digits - 3), ...)

Arguments

x
An object of class netmeta or summary.netmeta.
object
An object of class netmeta.
sortvar
An optional vector used to sort individual studies (must be of same length as x$TE).
level
The level used to calculate confidence intervals for individual studies.
level.comb
The level used to calculate confidence intervals for pooled estimates.
comb.fixed
A logical indicating whether a fixed effect meta-analysis should be conducted.
comb.random
A logical indicating whether a random effects meta-analysis should be conducted.
reference.group
Reference group.
all.treatments
A logical or value "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.
ma
A logical indicating whether summary results of meta-analysis should be printed.
logscale
A logical indicating whether results for summary measures 'RR', 'OR', 'HR', or 'PLN' will be printed on logarithmic scale.
header
A logical indicating whether information on title of meta-analysis, comparison and outcome should be printed at the beginning of the printout.
digits
Minimal number of significant digits, see print.default.
warn
A logical indicating whether the use of summary.meta in connection with metacum or metainf should result in a warning.
...
Additional arguments.

Value

  • A list is returned by the function summary.netmeta with the following elements:
  • comparisonResults for pairwise comparisons (a list with elements TE, seTE, lower, upper, z, p, level, df, studlab, treat1, treat2).
  • comparison.nma.fixedResults for pairwise comparisons based on fixed effect model (a list with elements TE, seTE, lower, upper, z, p, level, df, studlab, treat1, treat2, leverage).
  • comparison.nma.randomResults for pairwise comparisons based on random effects model (a list with elements TE, seTE, lower, upper, z, p, level, df, studlab, treat1, treat2).
  • fixedResults for fixed effect model (a list with elements TE, seTE, lower, upper, z, p, level, df).
  • randomResults for random effects model (a list with elements TE, seTE, lower, upper, z, p, level, df).
  • studiesStudy labels coerced into a factor with its levels sorted alphabetically.
  • narmsNumber of arms for each study.
  • kTotal number of studies.
  • mTotal number of pairwise comparisons.
  • nTotal number of treatments.
  • QOverall heterogeneity / inconsistency statistic.
  • dfDegrees of freedom for test of heterogeneity / inconsistency.
  • tauSquare-root of between-study variance.
  • I2I-squared.
  • smA character string indicating underlying summary measure.
  • ci.labLabel for confidence interval.
  • comb.fixedA logical indicating whether result for fixed effect meta-analysis should be printed.
  • comb.randomA logical indicating whether result for random effects meta-analysis should be printed.
  • levelThe level used to calculate confidence intervals for individual comparisons.
  • level.combThe level used to calculate confidence intervals for pooled estimates.
  • seqA character specifying the sequence of treatments.
  • all.treatmentsA logical or value "NULL". If TRUE, matrices with all treatment effects, and confidence limits will be printed.
  • reference.groupReference group.
  • all.treatmentsA logical or value "NULL". If TRUE, matrices with all treatment effects, and confidence limits will be printed.
  • titleTitle of meta-analysis / systematic review.
  • callFunction call.
  • versionVersion of R package netmeta used to create object.

See Also

netmeta

Examples

Run this code
data(Senn2013)

##
## Fixed effect model (default)
##
net1 <- netmeta(TE, seTE, treat1, treat2, studlab,
                data=Senn2013, sm="MD")
print(net1, ref="plac", digits=3)
summary(net1)

##
## Random effects model
##
net2 <- netmeta(TE, seTE, treat1, treat2, studlab,
                data=Senn2013, sm="MD", comb.random=TRUE)
print(net2, ref="plac", digits=3)
summary(net2)

Run the code above in your browser using DataLab