Description Usage Arguments Details See Also
Draw a forest plot
1 | drawForest(meta, showFixed = TRUE, showRandom = TRUE, ...)
|
meta |
an object of class c("metagen", "meta"), c("metacont", "meta") or
c("metabin", "meta") as returned by the functions |
showFixed, showRandom |
Logical indicating whether fixed effect and/or random effects results should be shown on the forest plot. By default both are shown set the appropriate argument to FALSE if you want to exclude that result from the plot. |
... |
additional arguments to be passed to |
This function provides a very simple wrapper around forest
from the meta
package. The main purpose is to allow some defaults
to be set for the arguments to forest
and to work out a reasonable
scale for the x-axis automatically.
By default pooled estimates for both fixed and random effects models will be shown. If there is only one study comparing a given pair of treatments then the results of that study are shown but no pooled estimates are displayed.
@return NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.