Description Usage Arguments See Also Examples
forestplot via ggplot2
1 | ggforestplot(d, xlab="Odds Ratio", ylab="Study")
|
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. |
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.