Woods2010 | R Documentation |
Count mortality statistics in randomised controlled trials of treatments for chronic obstructive pulmonary disease (Woods et al. (2010), Table 1).
A data frame with the following columns:
author | first author / study name |
treatment | treatment |
r | number of deaths in treatment arm |
N | number of patients in treatment arm |
The dataset Woods2010 is identical to dataset
dat.woods2010
in R package metadat.
Woods BS, Hawkins N, Scott DA (2010): Network meta-analysis on the log-hazard scale, combining count and hazard ratio statistics accounting for multi-arm trials: A tutorial. BMC Medical Research Methodology, 10, 54
dat.woods2010
,
pairwise
, metabin
,
netmeta
head(dat.woods2010)
# 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 metabin() which is
# called internally.
#
pw1 <- pairwise(treatment, event = r, n = N,
studlab = author, data = dat.woods2010, sm = "OR")
pw1
# Conduct network meta-analysis
#
net1 <- netmeta(pw1)
net1
# Show forest plot
#
forest(net1, ref = "Placebo", drop = TRUE,
leftlabs = "Contrast to Placebo")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.