summary.netcomb: Summary method for objects of class netcomb

Description Usage Arguments Value Author(s) See Also Examples

View source: R/summary.netcomb.R

Description

Summary method for objects of class netcomb.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
## S3 method for class 'netcomb'
summary(
  object,
  comb.fixed = object$comb.fixed,
  comb.random = object$comb.random,
  ...
)

## S3 method for class '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.stat = gs("digits.stat"),
  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.tau = gs("digits.tau"),
  digits.I2 = gs("digits.I2"),
  scientific.pval = gs("scientific.pval"),
  big.mark = gs("big.mark"),
  text.tau2 = gs("text.tau2"),
  text.tau = gs("text.tau"),
  text.I2 = gs("text.I2"),
  ...
)

Arguments

object

An object of class netcomb.

comb.fixed

A logical indicating whether results for the fixed effects (common effects) model should be printed.

comb.random

A logical indicating whether results for the random effects model should be printed.

...

Additional arguments.

x

An object of class netcomb or summary.netcomb.

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 minimum number of characters used to create unique treatment names (see Details).

digits

Minimal number of significant digits, see print.default.

digits.stat

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

Minimal number of significant digits for square root of 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.

text.tau2

Text printed to identify between-study variance τ^2.

text.tau

Text printed to identify τ, the square root of the between-study variance τ^2.

text.I2

Text printed to identify heterogeneity statistic I^2.

Value

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

Author(s)

Guido Schwarzer sc@imbi.uni-freiburg.de

See Also

netcomb, discomb

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
data(Linde2016)

# Only consider studies including Face-to-face PST (to reduce
# runtime of example)
#
face <- subset(Linde2016, id %in% c(16, 24, 49, 118))

# Conduct random effects network meta-analysis
#
net1 <- netmeta(lnOR, selnOR, treat1, treat2, id,
                data = face, reference.group = "placebo",
                sm = "OR", comb.fixed = FALSE)

# Additive model for treatment components
#
nc1 <- netcomb(net1)
summary(nc1)
print(summary(nc1), digits = 2, digits.stat = 3)

## Not run: 
# Conduct random effects network meta-analysis
#
net2 <- netmeta(lnOR, selnOR, treat1, treat2, id,
                data = Linde2016, reference.group = "placebo",
                sm = "OR", comb.fixed = FALSE)

# Additive model for treatment components
#
nc2 <- netcomb(net2)
summary(nc2)
print(summary(nc2), digits = 2, digits.stat = 3)

## End(Not run)

netmeta documentation built on May 12, 2021, 1:06 a.m.