Generic function to calculate the probabilities of each treatment being at each possible rank and the SUCRAs (Surface Under the Cumulative RAnking curve) in network meta-analysis.
rankogram(x, ...)
An R object.
Additional arguments.
Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de
For more details, look at the following functions to generate rankograms:
rankogram.netmeta
rankogram.default
Salanti G, Ades AE, Ioannidis JP (2011): Graphical methods and numerical summaries for presenting results from multiple-treatment meta-analysis: an overview and tutorial. Journal of Clinical Epidemiology, 64, 163--71
netmeta
, netrank
,
plot.rankogram
, dat.woods2010
pw1 <- pairwise(treatment, event = r, n = N, studlab = author,
data = dat.woods2010, sm = "OR")
net1 <- netmeta(pw1, small.values = "desirable")
set.seed(1909) # get reproducible results
ran1 <- rankogram(net1, nsim = 100)
ran1
print(ran1, cumulative.rankprob = TRUE)
plot(ran1)
Run the code above in your browser using DataLab