forest | R Documentation |
Draws a forest plot.
forest(x, width, ...)
x |
an object of class |
width |
the width of the plot, expressed as the maximum effect size that would be still plotted. |
... |
other arguments (currently ignored). |
The plot shows the observed or imputed effect sizes of the studies with the corresponding 95% confidence intervals. A light gray shadow shows the interval containing 95% of the imputations for studies with Non-statistically Significant Unreported Effects (NSUEs).
The effect size of the hypothesis of the model with the corresponding 95% confidence intervals is added to the bottom of the forest plot.
The function invisibly returns the optimal width and height of the plot, useful when calling the function pdf
.
Joaquim Radua
funnel
for plotting funnel plots.
meta
for conducting a meta-analysis.
pdf
for saving the plot in a PDF file.
t <- c(3.4, NA, NA, NA, NA, 2.8, 2.1, 3.1, 2.0, 3.4)
n <- c(40, 20, 22, 24, 18, 30, 25, 30, 16, 22)
m <- meta(smc_from_t(t, n))
forest(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.