data(Dogliotti2014)
Dogliotti2014
if (FALSE) {
# 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.
#
p1 <- pairwise(treatment, stroke, total, studlab = study,
data = Dogliotti2014, sm = "OR")
# Conduct Mantel-Haenszel network meta-analysis
#
netmetabin(p1, ref = "plac")
}
Run the code above in your browser using DataLab