[R] A Question on lowess() function

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Apr 10 20:37:35 CEST 2003


lowess was old-fashioned a decade ago: use loess.

And this Q was answered about a week ago, so use the archives.

On Thu, 10 Apr 2003, Minghua Yao wrote:

> I want to use lowess(x, y) where x and y are vectors of length of 4000+.  In
> fact, x and y are log of some vectors. So, some of the elements are NaN.
> lowess() can not take away those elements then do the fitting. It will give
> the error message and do nothing.
> 
> 1. Can anybody tell me how to get rid of those NaN's and use lowess()?
> 2. How to get the LOWESS fitting values for any elements in x?

-- 
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