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?

Thanks,
Vivek

______________________________________________
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