Generate a forest plot by specifying the various effect sizes, confidence intervals and summary estimate.
forest(theta, theta.ci.lb, theta.ci.ub, theta.slab, theta.summary,
theta.summary.ci.lb, theta.summary.ci.ub, theta.summary.pi.lb,
theta.summary.pi.ub, title, sort = "asc", theme = theme_bw(),
predint.linetype = 1, xlim, xlab = "", refline = 0,
label.summary = "Summary Estimate", label.predint = "Prediction Interval",
...)
Numeric vector with effect size for each study
Numeric vector specifying the lower bound of the confidence interval of the effect sizes
Numeric vector specifying the upper bound of the confidence interval of the effect sizes
Character vector specifying the study labels
Meta-analysis summary estimate of the effect sizes
Lower bound of the confidence (or credibility) interval of the summary estimate
Upper bound of the confidence (or credibility) interval of the summary estimate
Lower bound of the (approximate) prediction interval of the summary estimate.
Upper bound of the (approximate) prediction interval of the summary estimate.
Title of the forest plot
By default, studies are sorted by ascending effect size (sort="asc"
). Set to "desc"
for
sorting in reverse order, or any other value to ignore sorting.
Theme to generate the forest plot. By default, the classic dark-on-light ggplot2 theme is used. See theme_bw for more information.
The linetype of the prediction interval
The x
limits (x1, x2)
of the forest plot
Optional character string specifying the X label
Optional numeric specifying a reference line
Optional character string specifying the label for the summary estimate
Optional character string specifying the label for the (approximate) prediction interval
Additional arguments, which are currently ignored.