[R] NA points in loess function
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Jun 27 21:22:07 CEST 2003
On Fri, 27 Jun 2003, Yao, Minghua wrote:
> Thank you, Prof. Ripley. By adding na.action=na.exclude to loess function,
> the program runs great.
>
> I did omit some trivial things. But I still think it was NA's that caused
> troubles in predict or loess.
*NO* the errors message is from your usage of the result of
predict(loess(Y~X)).
Do make sure that you learn from your mistake, and you do need to
understand why there is a difference here to do so.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list