network_forest_plot.RdDraws a forest plot for one effect type from a fitted network_meta object.
network_forest_plot(
nma_object,
effect_type = c("total", "direct", "indirect"),
ci_level = 0.95,
order_by = c("effect", "abs_effect", "comparison"),
decreasing = FALSE,
xlab = "Effect",
main = NULL,
ref_line = 0,
point_col = "#0B1F3A",
ci_col = "#2E5A88",
ci_lty = 1,
ci_lwd = 2,
point_pch = 19,
point_cex = 1,
label_cex = 0.8,
right_digits = 3,
right_header = NULL,
ref_col = "gray55"
)A fitted object returned by network_meta.
One of "total", "direct", or "indirect".
Confidence level for interval bounds. Defaults to 0.95.
Ordering rule for rows. One of "effect", "abs_effect", or "comparison".
Logical; whether to reverse the selected order.
Label for x-axis.
Optional title. If NULL, an automatic title is used.
Vertical reference line location. Defaults to 0.
Point color.
Confidence interval line color.
Confidence interval line type.
Confidence interval line width.
Point symbol.
Point size scaling.
Label size scaling.
Number of digits shown in right-side labels.
Optional header shown above the right-side CI label column.
If NULL, a header is built from ci_level.
Color of the vertical reference line.
Invisibly returns the plotted data frame.
if (FALSE) { # \dontrun{
fit <- network_meta(
data = nma_dat,
study_id = "study",
treatment_1 = "trt1",
treatment_2 = "trt2",
effect = "yi",
variance = "vi"
)
network_forest_plot(fit, effect_type = "total", right_digits = 2)
} # }