[R] How to get curve information from a gam model

exu exu at libremax.com
Tue Sep 11 17:08:51 CEST 2012


I'm using library(mgcv)

I did a gam regression like this

model <- gam(formula = y ~ s(x), family="binomial")

Now I'd like to get 2 vectors x and z (with z=s(x)), so that I can implement
the model outside R.  How can I do this?

Thanks.



--
View this message in context: http://r.789695.n4.nabble.com/How-to-get-curve-information-from-a-gam-model-tp4642785.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list