Faisal Atakora shows how to build a forest plot using ggplot2:
To build a Forest Plot often the
forestplot
package is used in R. However, I find theggplot2
to have more advantages in making Forest Plots, such as enable inclusion of several variables with many categories in a lattice form. You can also use any scale of your choice such as log scale etc. In this post, I will introduce how to plot Risk Ratios and their Confidence Intervals of several conditions.
Click through for the script. You might also want to compare it to the forestplot package to see how these differ.
Comments closed