[R] GAM plots
Joe Trubisz
jtrubisz at mac.com
Sun Nov 22 02:09:14 CET 2009
Hello all...
I'm attempting to write my own GAM plot function, so I can overlay it
on top of an already existing plot.
Problem is that after I do the gam, e.g. m<-gam(...), I cannot match
the graph that gam.plot outputs when I attempt to plot the values
from m$residuals, m$linear.predictors or m$fitted.values. Kind of at a
loss what variables to use or if I need to do something else before I
attempt to plot them.
Can someone explain to me where I'm going wrong and what I need to do
to correct this?
Thanks,
Joe
More information about the R-help
mailing list