ggforestplot: forestplot via ggplot2

Description Usage Arguments See Also Examples

View source: R/ggforestplot.R

Description

forestplot via ggplot2

Usage

1
ggforestplot(d, xlab="Odds Ratio", ylab="Study")

Arguments

d

A data frame with 4 columns. 1st column variable names; 2nd column center point; 3rd column lower limits; 4th column upper limits.

xlab

x-label.

ylab

y-label.

See Also

rmeta::forestplot

Examples

1
2
3
4
# Create some dummy data.
d1 <- data.frame(x = toupper(letters[1:10]), y = rnorm(10, .05, 0.1))
d1 <- transform(d1, ylo = y-1/10, yhi=y+1/10)
ggforestplot(d1)

lixiangchun/lxctk documentation built on May 21, 2019, 6:44 a.m.