Print and summary method for objects of class netmeta
.
# S3 method for netmeta
print(x, sortvar,
comb.fixed=x$comb.fixed, comb.random=x$comb.random,
prediction=x$prediction,
reference.group=x$reference.group,
baseline.reference=x$baseline.reference,
all.treatments=x$all.treatments,
details=TRUE, ma=TRUE,
backtransf=x$backtransf, nchar.trts=x$nchar.trts,
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"),
scientific.pval=gs("scientific.pval"),
big.mark=gs("big.mark"), ...)# S3 method for netmeta
summary(object,
comb.fixed=object$comb.fixed, comb.random=object$comb.random,
prediction=object$prediction,
reference.group=object$reference.group,
baseline.reference=object$baseline.reference,
all.treatments=object$all.treatments,
warn=object$warn, ...)
# S3 method for summary.netmeta
print(x, comb.fixed=x$comb.fixed, comb.random=x$comb.random,
prediction=x$prediction,
reference.group=x$reference.group,
baseline.reference=x$baseline.reference,
all.treatments=x$all.treatments,
backtransf=x$backtransf, nchar.trts=x$nchar.trts,
header=TRUE,
digits=gs("digits"),
digits.pval.Q=max(gs("digits.pval.Q"), 2),
digits.Q=gs("digits.Q"),
digits.tau2=gs("digits.tau2"),
digits.I2=gs("digits.I2"),
scientific.pval=gs("scientific.pval"),
big.mark=gs("big.mark"), ...)
An object of class netmeta
or summary.netmeta
.
An object of class netmeta
.
An optional vector used to sort individual studies
(must be of same length as x$TE
).
A logical indicating whether a fixed effect meta-analysis should be conducted.
A logical indicating whether a random effects meta-analysis should be conducted.
A logical indicating whether prediction intervals should be printed.
Reference group.
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.
A logical or value "NULL"
. If
TRUE
, matrices with all treatment effects, and confidence
limits will be printed.
A logical indicating whether further details for individual studies should be printed.
A logical indicating whether summary results of meta-analysis should be printed.
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.
A numeric defining the minium number of characters used to create unique treatment names.
A logical indicating whether information on title of meta-analysis, comparison and outcome should be printed at the beginning of the printout.
Minimal number of significant digits, see
print.default
.
Minimal number of significant digits for standard
deviations and standard errors, see print.default
.
Minimal number of significant digits for
p-value of heterogeneity tests, see print.default
.
Minimal number of significant digits for
heterogeneity statistics, see print.default
.
Minimal number of significant digits for
between-study variance, see print.default
.
Minimal number of significant digits for I-squared
statistic, see print.default
.
A logical specifying whether p-values should be printed in scientific notation, e.g., 1.2345e-01 instead of 0.12345.
A character used as thousands separator.
A logical indicating whether the use of
summary.meta
in connection with metacum
or
metainf
should result in a warning.
Additional arguments.
A list is returned by the function summary.netmeta
with the
following elements:
Results for pairwise comparisons (a list with elements TE, seTE, lower, upper, z, p, level, df, studlab, treat1, treat2).
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).
Results for pairwise comparisons based on random effects model (a list with elements TE, seTE, lower, upper, z, p, level, df, studlab, treat1, treat2).
Results for fixed effect model (a list with elements TE, seTE, lower, upper, z, p, level, df).
Results for random effects model (a list with elements TE, seTE, lower, upper, z, p, level, df).
Study labels coerced into a factor with its levels sorted alphabetically.
Number of arms for each study.
Total number of studies.
Total number of pairwise comparisons.
Total number of treatments.
Overall heterogeneity / inconsistency statistic.
Degrees of freedom for test of heterogeneity / inconsistency.
P-value for test of heterogeneity / inconsistency.
I-squared.
Square-root of between-study variance.
Overall heterogeneity statistic.
Degrees of freedom for test of overall heterogeneity.
P-value for test of overall heterogeneity.
Overall inconsistency statistic.
Degrees of freedom for test of overall inconsistency.
P-value for test of overall inconsistency.
A character string indicating underlying summary measure.
Label for confidence interval.
A logical indicating whether result for fixed effect meta-analysis should be printed.
A logical indicating whether result for random effects meta-analysis should be printed.
A logical indicating whether prediction intervals should be printed.
A character specifying the sequence of treatments.
A logical or value "NULL"
. If
TRUE
, matrices with all treatment effects, and confidence
limits will be printed.
Reference group.
A logical or value "NULL"
. If
TRUE
, matrices with all treatment effects, and confidence
limits will be printed.
Title of meta-analysis / systematic review.
Function call.
Version of R package netmeta used to create object.
# NOT RUN {
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