hi,

i'm working with mgcv packages and specially gam. My exemple is:

>test<-gam(B~s(pred1)+s(pred2))
>plot(test,pages=1)

when ploting test, you can view pred1 vs s(pred1, edf[1] ) & pred2 vs
s(pred2, edf[2] )

I would like to know if there is a way to access to those terms
(s(pred1) & s(pred2)). Does someone know how?

the purpose is to access to equation of smooths terms in order to have
the equation of my additive model.

best regards,

-- 
Yves Magliulo, Climatology research departement <[EMAIL PROTECTED]>
Climpact

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to