[R] for plots

S Ellison S.Ellison at lgc.co.uk
Fri Aug 17 11:52:12 CEST 2007

?plot.gam or ?preplot.gam says there is an ask= option, slightly bizarrely set to F by default.

If ask=T, You'll get a menu of options for plotting. In windows, hitting "Esc" will get you out of the menu.


gam(Kyphosis ~ s(Age,4) + Number, family = binomial, data=kyphosis,

plot(g, ask=T)

>>> "Brad Zhang" <gczhang at meddent.uwa.edu.au> 17/08/2007 06:36:23 >>>
Hi, All,

I am a beginner for R. Now I have installed R 2.5.1 in Window
environment. After I run a program such as "gam" I would like to display
a plot for the object. The following is an example. When I did this,
only the last plot was presented on my screen. How can I get a plot
before the last plot? I mean if the object has several plots how can I
get those?

"gam.object <- gam(y ~ s(x,6) + z,data=gam.data)


Thank you.


Dr. Guicheng (Brad) Zhang
Senior Research Officer

School of Paediatrics and Child Health
Telethon Institute for Child Health Research
100 Roberts Road, Subiaco
Western Australia, 6008 AUSTRALIA

Email: Bradz at ichr.uwa.edu.au 
Phone: 93407896
Fax: 93882097

	[[alternative HTML version deleted]]

R-help at stat.math.ethz.ch mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html 
and provide commented, minimal, self-contained, reproducible code.

This email contains information which may be confidential and/or privileged, and is intended only for the individual(s) or organisation(s) named above. If you are not the intended recipient, then please note that any disclosure, copying, distribution or use of the contents of this email is prohibited. Internet communications are not 100% secure and therefore we ask that you acknowledge this. If you have received this email in error, please notify the sender or contact +44(0)20 8943 7000 or postmaster at lgcforensics.com immediately, and delete this email and any attachments and copies from your system. Thank you. 

LGC Limited. Registered in England 2991879. 
Registered office: Queens Road, Teddington, Middlesex TW11 0LY, UK

More information about the R-help mailing list