Re: [R] ggplot2: Remove geom

2013-07-15 Thread Gabor Grothendieck
On Mon, Jul 15, 2013 at 1:08 PM, Thaler,Thorn,LAUSANNE,Applied Mathematics wrote: > Dear all, > > Is there a possibility to remove a geom from a ggplot? Background suppose I > have a function which returns a ggplot object after some data re-formatting > and aggregation. While this ggplot object

[R] ggplot2: Remove geom

2013-07-15 Thread Thaler,Thorn,LAUSANNE,Applied Mathematics
Dear all, Is there a possibility to remove a geom from a ggplot? Background suppose I have a function which returns a ggplot object after some data re-formatting and aggregation. While this ggplot object is fine in 90% of the cases it turns out that for some cases I want to suppress one of the