I would like to create a forest plot using ggplot2.
The goal is to create a forest plot with 6 rows named X1, X2, X3, X4, X5, and X6. Labels for these should appear on the left hand side. A vertical dashed line should appear at x=1. Furthermore, on the right hand side of the plot the values of the mean followed by 95% CI should appear at each row.
My data has following mean, lower 95% interval, and upper 95% interval:
mean <- c(1.29,0.76,2.43,1.68,1.22,1.7)
lower <- c(0.84,0.50,1.58,1.1,0.8,1.11)
upper <- c(1.95,1.16,3.67,2.54,1.85,2.56)
Where X1 corresponds to 1.29 (0.84,1.95) and so forth.
I hope this is not too much to ask and hope this may serve as a guide for those who are unacquainted with drawing Forest plots in R such as myself.