forestplot: Function to draw meta-analysis forest plots

forestplotR Documentation

Function to draw meta-analysis forest plots

Description

This function creates forest plots from meta-analysis data.

Usage

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

Arguments

estimate

Vector of effect estimates

se

Vector of standard errors

labels

Vector of labels for the individual studies (default: Study 1, Study 2, etc.)

CI

Confidence interval (default: 0.95)

xexp

Whether the effect values are to be depicted on an exponential scale (default: FALSE)

xlab

Label for the horizontal axis (default: β)

ylab

Label for the horizontal axis (default: empty)

...

Arguments passed to the plot function, e.g. main="My plot"

Author(s)

Yurii Aulchenko, Lennart C. Karssen

Examples

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

MetABEL documentation built on May 12, 2022, 3 p.m.

Related to forestplot in MetABEL...