forestplot {BayesCombo} | R Documentation |
Forest plot
Description
Plots the effect sizes and standard errors for a set of studies as a standard forest plot. Also shown are the priors for each study.
Usage
forestplot(x, range = NULL, xlab = "Effect size", ylab = "Study", ...,
labels = NULL)
Arguments
x |
An object of the class |
range |
A numeric vector of length two that sets the range of the
x-axis. Values are passed to |
xlab , ylab |
Text for the x and y axes labels. |
... |
Other options passed to |
labels |
Names for studies to be plotted on the y-axis. If |
Details
This function plots results from the ev.combo()
function. The
results may be hard to visualise if the effect sizes differ greatly, and it
may be preferable to standardise the effect sizes by setting scale =
TRUE
in the ev.combo()
function.
Value
A forest plot.
See Also
Examples
x <- ev.combo( beta = c(0.0126, 5.0052, 1.2976, 0.0005),
se.beta = c(0.050, 2.581, 2.054, 0.003) )
forestplot(x)
[Package BayesCombo version 1.0 Index]