plot.loo.poth {poth} | R Documentation |
Plot results of leave-one-out method
Description
Plot results of leave-one-out method for precision of treatment hierarchy (POTH) metric
Usage
## S3 method for class 'loo.poth'
plot(x, labels = TRUE, digits = 3, ...)
Arguments
x |
R object of class |
labels |
A logical indicating whether treatment names should be shown in the plot. |
digits |
Minimal number of significant digits for global POTH, see
|
... |
Additional arguments (ignored). |
Details
Plot results of leave-one-out method for precision of treatment hierarchy (POTH) metric (Wigle et al., 2024).
Value
A ggplot2 object.
Author(s)
Augustine Wigle amhwigle@uwaterloo.ca, Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de
References
Wigle, A., Béliveau, A., Salanti, G., Rücker, G., Schwarzer, G., Mavridis, D., Nikolakopoulou, A. (2024): Precision of Treatment Hierarchy: A Metric for Quantifying Uncertainty in Treatment Hierarchies in Network Meta-Analysis
Examples
library("netmeta")
data(smokingcessation)
p1 <- pairwise(list(treat1, treat2, treat3),
event = list(event1, event2, event3), n = list(n1, n2, n3),
data = smokingcessation, sm = "OR")
net1 <- netmeta(p1, random = FALSE)
# Leave-one-out method
loo1 <- loo(poth(net1))
loo1
plot(loo1)
data(Senn2013)
net2 <- netmeta(TE, seTE, treat1.long, treat2.long, studlab,
data = Senn2013, sm = "MD", random = FALSE)
# Leave-one-out method (without sorting by ranking metric)
loo2 <- loo(poth(net2), sort = FALSE)
loo2
plot(loo2)
[Package poth version 0.2-0 Index]