[R] "gam()" in "gam" package
Duncan Murdoch
murdoch at stats.uwo.ca
Tue Dec 25 01:46:15 CET 2007
On 24/12/2007 6:59 PM, Kunio takezawa wrote:
> R-users
> E-mail: r-help at 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
More information about the R-help
mailing list