[R] gam
Yves Magliulo
ym at climpact.com
Wed Jun 16 16:38:36 CEST 2004
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 <ym at climpact.com>
Climpact
More information about the R-help
mailing list