[R] ggplot2's geom_errorbar legend

Giovanni Azua bravegag at gmail.com
Sat May 1 14:34:48 CEST 2010


Hello,

I create a simple ggplot that only shows a straight line. I then add three datasets of CI using the geom_errorbar function. The problem is that I can't find any way to have the legend showing up ... I need to show what each  color of the CIs corresponds to i.e. which method. 

Can anyone advice please?
TIA,
Best regards,
Giovanni



More information about the R-help mailing list