On Aug 29, 2011, at 6:03 PM, Ayyappa Chaturvedula wrote:

Dear R group,

I am trying to plot uisng a for loop.  Here is the script:
for (i in unique(cfn$ID)){
plot(cfn$TIME[cfn$ID==i],cfn$DV[cfn$ID==i],pch=16)}

I could access only the last plot of the series and cannot go back to see all the plots. I appreciate your help in resolving this issue and also please suggest how I can export the plots as a pdf or other format files for
publication purposes.

?pdf
"dev.off

--
David Winsemius, MD
West Hartford, CT

______________________________________________
R-help@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.

Reply via email to