data(Stowe2010)
# Transform data from arm-based format to contrast-based format
#
pw1 <- pairwise(list(t1, t2, t3),
n = list(n1, n2, n3),
mean = list(y1, y2, y3), sd = list(sd1, sd2, sd3),
data = Stowe2010, studlab = study)
pw1
# Conduct network meta-analysis
net1 <- netmeta(pw1, ref = "plac")
net1
Run the code above in your browser using DataLab