[R] plot gam "main effect functions" in one graph

From: Pancrazio Bertaccini <bertaccini_at_econ.unito.it>
Date: Wed, 09 Jul 2008 12:36:54 +0200

Dear R users,
I have a question about the plot with the package gam. I need to plot different main effect functions, related to different gam models, in the same graphics (i.e. the same covariate about different models).
I used the plot.gam e preplot.gam documentations. Using preplot.gam I can plot the single function but I'm not able to put all the functions together.
Does anybody can help me.
Thank you in advance.

Pancrazio Bertaccini,
PhD student,
UniversitÓ di Torino - Department of Statistics and Applied Mathematics

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 09 Jul 2008 - 13:46:59 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 09 Jul 2008 - 19:31:11 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive