On Sep 11, 2012, at 12:10 PM, exu wrote:
> Thanks for the response. But I'm relatively new to R, could you elaborate a
> bit? I tried
>
> P <-predict.gam(model,type=terms")
>
> But I'm having a hard time to trying to make sense of the resulting data.
And I'm having even greater difficulty bec
Thanks for the response. But I'm relatively new to R, could you elaborate a
bit? I tried
P <-predict.gam(model,type=terms")
But I'm having a hard time to trying to make sense of the resulting data.
Regards,
Eugene Xu
LIBREMAX CAPITAL, LLC.
830 Third Avenue
Suite 801
NewYork, NY 10022
(212) 612
On Sep 11, 2012, at 8:08 AM, exu wrote:
> 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?
?predict.g
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.nabb
4 matches
Mail list logo