R: Forest plot

forestplot {MetABEL}R Documentation

Forest plot

Description

Function to draw meta-analysis forest plots

Usage

forestplot(estimate, se, labels = paste("Study", c(1:length(estimate))), CI = 0.95, xexp = FALSE, ...)

Arguments

estimate vector of effect estimates
se vector of standard errors
labels individual study labels
CI confidence interval, e.g. 0.95
xexp whether the effect values are to be depicted on exponential scale
... arguments passed to plot function, e.g. main = "My plot"

Author(s)

Yurii Aulchenko

Examples

beta <- c(0.16,0.091,0.072,-0.03)
s <- c(0.07,0.042,0.048,0.12)
forestplot(beta,s,main="Example plot")

[Package MetABEL version 0.0-3 Index]