Learn R Programming

netmeta (version 3.1-1)

Dong2013: Network meta-analysis for chronic obstructive pulmonary disease

Description

Network meta-analysis comparing inhaled medications in patients with chronic obstructive pulmonary disease.

Arguments

Format

A data frame with the following columns:

idstudy ID
treatmenttreatment
deathmortality
randomizednumber of individuals in treatment arm

See Also

dat.dong2013, pairwise, metabin, netmetabin

Examples

Run this code
head(dat.dong2013)

# \donttest{
# Transform data from long arm-based format to contrast-based
# format. Argument 'sm' has to be used for odds ratio as summary
# measure; by default the risk ratio is used in the metabin
# function called internally.
#
pw1 <- pairwise(treatment, death, randomized, studlab = id,
  data = dat.dong2013, sm = "OR")

# Conduct Mantel-Haenszel network meta-analysis
#
netmetabin(pw1, ref = "plac")
# }

Run the code above in your browser using DataLab