Adaptive regression parameter estimation in R
Here is some notes for an R package 'earth' for adaptive regression. This may be useful.

http://cran.r-project.org/web/packages/earth/vignettes/earth-notes.pdf