Re: [R] Error unary operator

2012-10-30 Thread John Kane
it looks like facet_grid(Aeventexhumed ~ Rayos) + geom_smooth(method="lm", fill=NA) + ylim(c(0, 7)) should read facet_grid(Aeventexhumed ~ Rayos) + geom_smooth(method="lm", fill=NA) + ylim(c(0, 7)) In ggplot the + must be on the preceding line. John Kane Kingston ON Canada > -

Re: [R] Error unary operator

2012-10-29 Thread peter dalgaard
On Oct 30, 2012, at 05:34 , Jean Jang wrote: > Hi R - listers, > > I am receiving an error. Does anyone know what this means? J > This command: > ggplot(subset(foo, Rayos != "Rayos.NA"), aes(x=HTL, y=DevelopIndex, > colour=TotalEggs)) +geom_point() +geom_jitter() + > facet_grid(Aeventexhume

Re: [R] Error unary operator

2012-10-29 Thread Jeff Newmiller
a) not reproducible, read the posting guide b) there is actually a forum dedicated to ggplot2 where you would get better answers c) I have not had luck providing an expression as the data argument to ggplot. --- Jeff Newmiller