Skip to content
Prev 201851 / 398503 Next

GAM plots

Are you using mgcv:::gam? To get plot data suitable for making plots of smooth 
effects, you probably need to use `predict.gam' to evaluate the smooth curves 
(and standard errors) at a nice regular set of points for plotting. Also 
don't forget that the residuals shown on plot.gam are the `partial residuals' 
(i.e. the residuals + the smooth concerned). 

best,
Simon
On Sunday 22 November 2009 01:09, Joe Trubisz wrote: