[R] ggplot2: problem with geom_errorbar and geom_abline

Ben Bolker bolker at ufl.edu
Thu Oct 4 01:34:45 CEST 2007

James D Forester wrote:
> Hi all,
> I  have run into what appears to be a bug in ggplot2; however, I am new 
> to the ggplot syntax, so I might be missing a key element. The main 
> issue is that I cannot get geom_abline to plot when colour is used to 
> identify "group" in the main plot. When I remove colour, geom_abline 
> works but the error bars have an undesirable line drawn between the left 
> edges of the caps. Does anyone know how to change this behavior?

In http://www.nabble.com/plot-graph-with-error-bars-trouble-tf4535734.html 
Hadley Wickham says that this is a bug, fixed in the development version.
However, I don't see that the update has propagated to my usual CRAN
mirror yet ...
View this message in context: http://www.nabble.com/ggplot2%3A-problem-with-geom_errorbar-and-geom_abline-tf4563163.html#a13030044
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list