Displaying 1 result from an estimated 1 matches for "resp_pout".
Did you mean:
resp_pos
2006 Apr 15
0
Extracting the results of a gam smooth
I am conducting a gam smooth and having a devil of a time getting out
the answers so I can work with them.
Here are the two lines of code:
> model <- gam(y~lo(x, span=0.75, degree=2), family=poisson)
>
> resp_pout <- predict (model, data.frame (x=x), type = 'response')
The problem comes when I try to get the answers out. I cannot for the
life of me figure out the format of resp_pout, and I have been trying
literally for WEEKS to get the answer. Surely this is a perfectly
standard question whic...