plot.bestk.poth {poth}R Documentation

Plot best k treatments precision of treatment hierarchy (POTH) values

Description

Plot best k treatments precision of treatment hierarchy (POTH) values

Usage

## S3 method for class 'bestk.poth'
plot(x, labels = FALSE, nchar.trts = 4, digits = 3, ...)

Arguments

x

R object of class bestk.poth.

labels

A logical indicating whether treatment names should be shown in the plot.

nchar.trts

Number of characters to keep for each treatment name if labels = TRUE.

digits

Minimal number of significant digits for best k treatments POTH, see print.default.

...

Additional arguments (ignored).

Details

Plot results of best k treatments 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. Preprint on arXiv, doi:10.48550/arXiv.2501.11596

Examples


library("netmeta")
data(Senn2013)
net1 <- netmeta(TE, seTE, treat1.long, treat2.long, studlab,
  data = Senn2013, sm = "MD", random = FALSE)

# Best k treatments method
bk1 <- bestk(poth(net1))
bk1
plot(bk1)
plot(bk1, labels = TRUE)
bk2 <- bestk(poth(net1), sort = FALSE)
bk2
plot(bk2)
plot(bk2, labels = TRUE)


[Package poth version 0.3-0 Index]