[R] for cycle with uncontinuous numbers

Marcio Resende mresendeufv at yahoo.com.br
Sun Sep 27 06:30:20 CEST 2009


Hi nice people,
I would like to do a for cycle but i wish it to assume only the numers 50,
100, 200, 300, 900 and 2343
I tried to do something like

x <- c(50,100,200,300,900,2343)
for (i in x){
#.....
}

But it didn´t work
Could anybody help me?
Thanks in advance
Marcio
-- 
View this message in context: http://www.nabble.com/for-cycle-with-uncontinuous-numbers-tp25630831p25630831.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list