Re: [R] Conditionally incrementing a loop counter: Take 2

2007-12-27 Thread Mike Jones
;- i + 1 } else{ garbage <- garbage+1 } cat("i = ",i,"garbage = ",garbage,"\n") } -Original Message----- From: Peter Dalgaard [mailto:[EMAIL PROTECTED] Sent: Thursday, December 27, 2007 5:36 PM To: Mike Jones Cc: [EMAIL

[R] Conditionally incrementing a loop counter: Take 2

2007-12-27 Thread Mike Jones
7 initial i = 9 second i = 9 initial i = 10 second i = 10 > -Original Message- > From: Mike Jones > Sent: Thursday, December 27, 2007 4:35 PM > To: '[EMAIL PROTECTED]' > Subject: Conditionally incrementing a loop counter > > Hi, > I

[R] Conditionally incrementing a loop counter

2007-12-27 Thread Mike Jones
7;t seem to manually adjust i because from what I understand, R creates 100 long vector and uses that to "loops thru" and I'm not sure how to get at the index of that vector. Any suggestions? Thanks in advance. Mike Jones Westat 1650 Research Blvd. RE401 R

[R] How to save multiple graphs into a single file

2007-11-16 Thread Mike Jones
can't want to use lattice, because I have hundreds of plots. So, to keep it simple, let's say I am plotting 3 series of boxplots like, boxplot(data1~groups,...) boxplot(data2~groups,...) boxplot(data3~groups,...) Is there a way to get these into a single pdf file? Thanks in advance...