Hello,
I have made my forest plots (please see the attachment) using the code below. Could someone give me hints or help me with the code that I need to add in order to have the OR and 95% CI printed under each geom_hline?
I could send you the reprodicble code if needed.
Thanks,
Pradip Muhuri
##################################################################
p <- ggplot(data, aes(x=xcovariate_f, or,y=or, ymin=lc, ymax=uc))+
geom_pointrange()+
geom_hline(aes(x=0), lty=2) +
facet_wrap(~ age_cat_f)+
coord_flip()+
xlab (" ")+
ylab(" ")+
theme_bw() +
theme(panel.grid.major=element_blank(),panel.grid.minor=element_blank())+
theme(strip.text.x=element_text(),
strip.background = element_rect(colour="black", fill='white') )
print(p)