[R] smooth.spline

Prof Brian Ripley ripley at stats.ox.ac.uk
Sun Aug 1 09:26:28 CEST 2004


On Sat, 31 Jul 2004, Kjetil Halvorsen wrote:

> look at packages
> splines
> mgcv

However, smooth.spline is in package stats.

> and a lot of others. To see how it is implemented, look a the references in
> the help pages and the source code.
> 
> Kjetil Halvorsen
> 
> 
> chuanjun zhang wrote:
> > Dear Friends,
> > Is there anybody know where I can get the code which implement the 
> > smooth.spline function in R?
> > I have to know how the smooth.spline is implemented.

Look in the source code, in files

src/library/stats/R/smspline.R
src/library/stats/src/qsbart.f
src/library/stats/src/sbart.c

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