Hi Daniel, I presume you mean coefficients by values. Try ?gamObject and read the info in the help file. A GAM object (returned by the function gam() ) contains an element coefficients that is easily accessible. That one contains all estimated coefficients, including those for the smooth functions.
On Thu, Oct 1, 2009 at 1:49 PM, Daniel Rabczenko <dan...@medstat.waw.pl> wrote: > Hello evyrone, > I would be grateful if you could help me in (I hope) simple problem. > I fit a gam model (from mgcv package) with several smooth functions . > I don't know how to extract values of just one smooth function. Can you > please help me in this? > Kind regards, > Daniel Rabczenko > > ______________________________________________ > 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. > ______________________________________________ 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.