Re: [R] Adding loess lines subsetting to each panel in lattice plot

2016-08-13 Thread Juan Perez via R-help
Breathed in his "Bloom County" comic strip ) On Fri, Aug 12, 2016 at 9:10 AM, Juan Perez via R-help wrote: > Hello, I've created an xyplot and I want to add a loess line for x (Age)  > <=40 and another for values >40. In a way it is similar to this > https://stat

[R] Adding loess lines subsetting to each panel in lattice plot

2016-08-12 Thread Juan Perez via R-help
Hello, I've created an xyplot and I want to add a loess line for x (Age)  <=40 and another for values >40. In a way it is similar to this https://stat.ethz.ch/pipermail/r-help/2009-May/390502.html but still not succcessful. This is my try: xyplot(MOE~Age|Species, groups=Site,    panel = fu