[R] Gam() function in R

Janice Tse wt43 at cornell.edu
Mon Dec 6 05:07:31 CET 2004


Hi all,

I'm   a new user of R gam() function. I am wondering how do we decide on the
smooth function to use?
The general form is gam(y~s(x1,df=i)+s(x2,df=j).......)  , how do we decide
on the degree freedom to use for each smoother, and if we shold apply
smoother to each attribute?

Thanks!!




More information about the R-help mailing list