Learn R Programming

netmeta (version 0.9-8)

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

Description

Print and summary method for objects of class netcomb.

Usage

# S3 method for netcomb
print(x,
      comb.fixed = x$comb.fixed,
      comb.random = x$comb.random,
      backtransf = x$backtransf,
      nchar.trts = x$nchar.trts,
      digits = gs("digits"),
      digits.zval = gs("digits.zval"),
      digits.pval = gs("digits.pval"),
      digits.pval.Q = max(gs("digits.pval.Q"), 2),
      digits.Q = gs("digits.Q"),
      scientific.pval = gs("scientific.pval"),
      big.mark = gs("big.mark"),
      ...)

# S3 method for netcomb summary(object, ...)

# S3 method for summary.netcomb print(x, comb.fixed = x$comb.fixed, comb.random = x$comb.random, backtransf = x$backtransf, nchar.trts = x$nchar.trts, digits = gs("digits"), digits.zval = gs("digits.zval"), digits.pval = gs("digits.pval"), 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 netcomb or summary.netcomb.

object

An object of class netcomb.

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.

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 (see Details).

digits

Minimal number of significant digits, see print.default.

digits.zval

Minimal number of significant digits for z- or t-value, see print.default.

digits.pval

Minimal number of significant digits for p-value of overall treatment effect, 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.

Additional arguments.

Value

A list is returned by the function summary.netcomb with the same elements as a netcomb object.

See Also

netcomb

Examples

Run this code
# NOT RUN {
data(Linde2016)

# Standard Network meta-analysis
#
net1 <- netmeta(lnOR, selnOR, treat1, treat2, id,
                data = Linde2016, reference.group = "placebo",
                sm = "OR", comb.fixed = FALSE, comb.random = TRUE)

# Additive model for treatment components
#
nc1 <- netcomb(net1)

summary(nc1)
print(summary(nc1), digits = 2, digits.zval = 3)
# }

Run the code above in your browser using DataLab