mtrank
This function produces a forest plot that visualizes the ability estimates
calculated with mtrank
.
# S3 method for mtrank
forest(
x,
sorting = "ability",
backtransf = FALSE,
xlab = "",
leftcols = "studlab",
leftlabs = "Treatment",
rightcols = c("effect", "ci"),
rightlabs = c(paste0(if (!backtransf) "log-", "Abilities"), NA),
label.left = "Favors average treatment",
label.right = "Favors treatment",
header.line = TRUE,
...
)
A forest plot is plotted in the active graphics device.
An object of class mtrank
.
An argument specifying the criterion to sort the ability estimates in the forest plot (see Details).
A logical argument specifying whether to show log-ability
estimates (FALSE
, default) or ability estimates on the natural
scale (TRUE
).
A label for the x-axis.
A character vector specifying columns
to be printed on the left side of the forest plot
(see forest.meta
).
A character vector specifying labels for columns on left side of the forest plot.
A character vector specifying columns
to be printed on the right side of the forest plot
(see forest.meta
).
A character vector specifying labels for columns on right side of the forest plot.
Graph label on left side of null effect.
Graph label on right side of null effect.
A logical value indicating whether to print a header line or a character string ("both", "below", "").
Additional arguments (passed on to
forest.meta
).
The function produces a forest plot and visualizes the ability estimates
obtained from mtrank
. The order of the estimates in the
forest plot (argument sorting
) can be one of the following:
"ability": sort by descending ability estimates (default),
"se": sort by descending precision, i.e., increasing standard errors,
"none": use order from data set.
Evrenoglou T, Nikolakopoulou A, Schwarzer G, Rücker G, Chaimani A (2024): Producing treatment hierarchies in network meta-analysis using probabilistic models and treatment-choice criteria, https://arxiv.org/abs/2406.10612