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(Aeventexhumed ~ Rayos)

... ends here.

This command:

> + geom_smooth(method="lm", fill=NA) + ylim(c(0, 7))

makes no sense in isolation. Hence

> Error in +geom_smooth(method = "lm", fill = NA) :
>   invalid argument to unary operator

I suppose the + wants to be on the preceding line.

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd....@cbs.dk  Priv: pda...@gmail.com

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to