[R] k-d tree for loess

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Sep 26 17:09:17 CEST 2005

First a warning: loess in R is only loosely related to loess in S, being 
derived from a C implementation (by the same authors).

In R I don't think you can do this.  Those details are never exposed, and 
are hidden in an undocumented C/Fortran workspace.

On Mon, 26 Sep 2005, Carlisle Thacker wrote:

> I am exploring the use of loess for oceanographic applications and would
> like to plot the locations (longitude and latitude) points where the models
> (salinity~temperature*longitude*latitude,parametric="temperature") are
> fitted.  Chambers and Hastie(1993) explains the locations are nodes of a
> k-d tree. but I cannot find anything about accessing this information.  It
> would be useful to superimpose on such plots contours of the weights for at
> least one point.  Sample code of drawing such plots would be greatly
> appreciated.
> Thanks,
> Carlisle Thacker

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