Learn R Programming

netmeta (version 0.9-0)

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

Description

Print and summary method for objects of class netmeta.

Usage

"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), ...)
"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, ...)
"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:
comparison
Results for pairwise comparisons (a list with elements TE, seTE, lower, upper, z, p, level, df, studlab, treat1, treat2).
comparison.nma.fixed
Results 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.random
Results for pairwise comparisons based on random effects model (a list with elements TE, seTE, lower, upper, z, p, level, df, studlab, treat1, treat2).
fixed
Results for fixed effect model (a list with elements TE, seTE, lower, upper, z, p, level, df).
random
Results for random effects model (a list with elements TE, seTE, lower, upper, z, p, level, df).
studies
Study labels coerced into a factor with its levels sorted alphabetically.
narms
Number of arms for each study.
k
Total number of studies.
m
Total number of pairwise comparisons.
n
Total number of treatments.
Q
Overall heterogeneity / inconsistency statistic.
df
Degrees of freedom for test of heterogeneity / inconsistency.
tau
Square-root of between-study variance.
I2
I-squared.
sm
A character string indicating underlying summary measure.
ci.lab
Label for confidence interval.
comb.fixed
A logical indicating whether result for fixed effect meta-analysis should be printed.
comb.random
A logical indicating whether result for random effects meta-analysis should be printed.
level
The level used to calculate confidence intervals for individual comparisons.
level.comb
The level used to calculate confidence intervals for pooled estimates.
seq
A character specifying the sequence of treatments.
all.treatments
A logical or value "NULL". If TRUE, matrices with all treatment effects, and confidence limits will be printed.
reference.group
Reference group.
all.treatments
A logical or value "NULL". If TRUE, matrices with all treatment effects, and confidence limits will be printed.
title
Title of meta-analysis / systematic review.
call
Function call.
version
Version 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