[R] Plotting the explanatory against the dependent in a GAM

Oscar Saenz de Miera saenzo68 at yahoo.com
Mon May 3 11:20:10 CEST 2010

To whoever it may correspond,

My name is Oscar Saenz and I am working on my thesis in Spain. 

I am using GAMs in "R" and, now that I have estimated my models, I need to plot the predicted smooth functions against the dependent variable (just as in Carlslaw et al. 2007, fig. 1*).

Otherwise, I'd like to know how to plot the smoothed predictor variable values against the partial residuals.

Thank you for taking the time to read my message. Any help is gratefully appreciated,


* Carslaw, D., Beevers, S., Tate, J. 2007. Modelling and assessing trends in traffic-related emissions using a generalised additive modelling approach. Atmospheric Environment 41 (2007) 5289–5299


More information about the R-help mailing list