On Mon, 23 Nov 2009 14:03:11 -0700 Greg Snow <greg.s...@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

______________________________________________
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