On 24/12/2007 6:59 PM, Kunio takezawa wrote: > R-users > E-mail: r-help@r-project.org > >>> I found the answer myself. >>> '.Fortran("baklo",' in lo.wam() and .Fortran("bakfit",in >>> s.wam() may carry out backfitting. But I cannot >>> create an R code which gives the same results as those of >>> "bakfit". If someone knows the detail of "bakfit" algorithm, > > Thomas>The source code for both Fortran routines is in the package. If I > recal > Thomas>correctly the book by Hastie & Tibshirani has descriptions of > Thomas>the algorithms they used. > > I failed to find the Fortran source codes. Please specify the names > of folder and files.
You may have a binary install of the package; you need the source. Look in http://cran.r-project.org/src/contrib/gam_0.98.tar.gz, files gam/src/backfit.f and gam/src/backlo.f Duncan Murdoch ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.