[R] 'panel.smooth' error
Sebastian P. Luque
spluque at gmail.com
Wed Aug 18 23:05:54 CEST 2010
On Wed, 18 Aug 2010 13:56:23 -0700 (PDT),
Phil Spector <spector at stat.berkeley.edu> wrote:
> Sebastian - panel.loess will be more suitable for use with xyplot. To
> get both points and the smoothed line, you can use
> xyplot(incidence~year,melanoma,panel=function(x,y,...){
> panel.xyplot(x,y,...) panel.loess(x,y,...)})
Thanks Phil, this is a good alternative. I wonder though why
panel.smooth wouldn't work too.
--
Seb
More information about the R-help
mailing list