View source: R/plot.loo.poth.R
plot.loo.poth | R Documentation |
Plot results of leave-one-out method for precision of treatment hierarchy (POTH) metric
## S3 method for class 'loo.poth'
plot(x, labels = TRUE, digits = 3, ...)
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). |
Plot results of leave-one-out method for precision of treatment hierarchy (POTH) metric (Wigle et al., 2024).
A ggplot2 object.
Augustine Wigle amhwigle@uwaterloo.ca, Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de
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. Preprint on arXiv, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.48550/arXiv.2501.11596")}
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.