forest: Forest Plots

Description Usage Arguments Details Author(s) References See Also

View source: R/forest.r


The forest function can be used to create forest plots.


forest(x, ...)



either an object of class "rma", a vector with the observed effect sizes or outcomes, or an object of class "cumul.rma". See ‘Details’.


other arguments.


Currently, methods exist for three types of situations.

In the first case, object x is a fitted model object coming from the rma.uni,, or rma.peto functions. The corresponding method is then forest.rma.

Alternatively, object x can be a vector with observed effect sizes or outcomes. The corresponding method is then forest.default.

Finally, object x can be an object coming from the cumul.rma.uni,, or cumul.rma.peto functions. The corresponding method is then forest.cumul.rma.


Wolfgang Viechtbauer


Lewis, S., & Clarke, M. (2001). Forest plots: Trying to see the wood and the trees. British Medical Journal, 322(7300), 1479–1480.

Viechtbauer, W. (2010). Conducting meta-analyses in R with the metafor package. Journal of Statistical Software, 36(3), 1–48.

See Also

forest.rma, forest.default, forest.cumul.rma

metafor documentation built on June 9, 2021, 5:08 p.m.