[R] For Loop Iteration: Variable Counter
mailinglist.honeypot at gmail.com
Mon Aug 3 18:13:43 CEST 2009
On Aug 3, 2009, at 12:09 PM, Vivek Ayer wrote:
> Hey guys,
> How do I iterate such that I add 100 to the counter every time?
> Suppose: for (i in c(1:100))
> I want i to be 1, 10, 20, 30, ... instead of 1,2,3,4,5 ...
> How can this be done?
Graduate Student: Computational Systems Biology
| Memorial Sloan-Kettering Cancer Center
| Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact
More information about the R-help