| forest {metansue} | R Documentation |
Forest Plots for “meta.nsue” Objects
Description
Draws a forest plot.
Usage
forest(x, width, ...)
Arguments
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). |
Details
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.
Value
The function invisibly returns the optimal width and height of the plot, useful when calling the function pdf.
Author(s)
Joaquim Radua
See Also
funnel for plotting funnel plots.
meta for conducting a meta-analysis.
pdf for saving the plot in a PDF file.
Examples
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)