[R] GAMs under R?

Thomas Lumley thomas at biostat.washington.edu
Mon May 1 17:28:43 CEST 2000


On Sun, 30 Apr 2000, Stephen R. Laniel wrote:

> I was just now surprised to note that functions to go generalized additive
> models don't appear to exist under R 1.000.  In particular, the gam() and
> loess() functions aren't there.  Are they hidden somewhere and I just
> haven't noticed?

Lots of people have pointed out loess().  For many purposes you can use
regression splines (ns() and bs() in library(splines)) and glm() to get
smooth functions of predictors.

	-thomas

Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list