Learn R Programming

netmeta (version 0.9-8)

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 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"), ...)

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).

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.

prediction

A logical indicating whether prediction intervals should be printed.

reference.group

Reference group.

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

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 minium number of characters used to create unique treatment names.

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.

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.

scientific.pval

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

big.mark

A character used as thousands separator.

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.Q

Degrees of freedom for test of heterogeneity / inconsistency.

pval.Q

P-value for test of heterogeneity / inconsistency.

I2

I-squared.

tau

Square-root of between-study variance.

Q.heterogeneity

Overall heterogeneity statistic.

df.Q.heterogeneity

Degrees of freedom for test of overall heterogeneity.

pval.Q.heterogeneity

P-value for test of overall heterogeneity.

Q.inconsistency

Overall inconsistency statistic.

df.Q.inconsistency

Degrees of freedom for test of overall inconsistency.

pval.Q.inconsistency

P-value for test of overall inconsistency.

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.

prediction

A logical indicating whether prediction intervals should be printed.

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
# 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