PlotSpie {rankinma} | R Documentation |
Illustrate beading plot
Description
PlotSpie() is a function for illustrating spie plot.
Usage
PlotSpie(data, color = NULL)
Arguments
data |
DATA of metrics for treatment ranking. |
color |
LIST of colors for outcomes in a network meta-analysis. |
Value
PlotSpie() returns a spie plot.
References
Daly, C. H., Mbuagbaw, L., Thabane, L., Straus, S. E., & Hamid, J. S. (2020). Spie charts for quantifying treatment effectiveness and safety in multiple outcome network meta-analysis: a proof-of-concept study. BMC Medical Research Methodology, 20, 1-13.
See Also
GetMetrics
, SetMetrics
,
PlotBeads
, PlotBar
,
PlotLine
, PlotHeat
Examples
## Not run:
#library(netmeta)
#data(Senn2013)
#nma <- netmeta(TE, seTE, treat1, treat2,
#studlab, data = Senn2013, sm = "SMD")
# Get SUCRA
#nma.1 <- GetMetrics(nma, outcome = "HbA1c.random", prefer = "small", metrics = "SUCRA",
#model = "random", simt = 1000)
#nma.2 <- GetMetrics(nma, outcome = "HbA1c.common", prefer = "small", metrics = "SUCRA",
#model = "common", simt = 1000)
# Combine metrics of multiple outcomes
#dataMetrics <- rbind(nma.1, nma.2)
# Set data for rankinma
#dataRankinma <- SetMetrics(dataMetrics, tx = tx, outcome = outcome,
#metrics = SUCRA, metrics.name = "SUCRA")
# Illustrate beading plot
#PlotSpie(data = dataRankinma)
## End(Not run)
[Package rankinma version 0.2.2 Index]