[R] Loess Fit

Karl Ove Hufthammer karl at huftis.org
Tue Nov 24 09:10:37 CET 2009


On Mon, 23 Nov 2009 14:03:11 -0700 Greg Snow <Greg.Snow at imail.org> 
wrote:
> If you need a function to reproducibly generate predictions, then 
> use loess to generate a set of predictions for a reasonably dense set 
> of x-values, then use approxfun or splinefun to create a function to 
> interpolate for you.  Then this function can give the predictions for 
> various x values.

Why not use 'predict.loess' (i.e., 'predict' on a loess object) 
directly?

-- 
Karl Ove Hufthammer



More information about the R-help mailing list