summary.netcomb: Summary method for objects of class netcomb

View source: R/summary.netcomb.R

summary.netcombR Documentation

Summary method for objects of class netcomb

Description

Summary method for objects of class netcomb.

Usage

## S3 method for class 'netcomb'
summary(
  object,
  common = object$common,
  random = object$random,
  backtransf = object$backtransf,
  nchar.comps = object$nchar.comps,
  warn.deprecated = gs("warn.deprecated"),
  ...
)

Arguments

object

An object of class netcomb.

common

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

random

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

backtransf

A logical indicating whether results should be back transformed in printouts and forest plots.

nchar.comps

A numeric defining the minimum number of characters used to create unique component names.

warn.deprecated

A logical indicating whether warnings should be printed if deprecated arguments are used.

...

Additional arguments (to catch deprecated arguments).

Value

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

Author(s)

Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de

See Also

netcomb, discomb

Examples

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", common = 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", common = 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 June 23, 2024, 9:06 a.m.