Learn R Programming

netmeta (version 3.6-0)

netgraph.netcomb: Network graph for objects of class netcomb

Description

This function generates a graph of the evidence network.

Usage

# S3 method for netcomb
netgraph(x, ...)

Arguments

x

An object of class netcomb.

...

Additional arguments passed on to netgraph.netmeta.

See Also

netcomb, netgraph.netmeta

Examples

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

# Use pairwise() to transform data to comparison-based format
#
pw <- pairwise(treat = int,
  event = resp, n = n, studlab = paste(author, year),
  data = face, reference = "plac", sm = "OR")

# Conduct random effects network meta-analysis
#
nma <- netmeta(pw, common = FALSE)

# Additive model for treatment components (with placebo as inactive
# treatment)
#
cnma <- netcomb(nma, inactive = "placebo")

netgraph(cnma)

Run the code above in your browser using DataLab