Clark, Jennifer H wrote:
> Dear List-serv members:
> How can I structure a for loop so that it will increment the counter by two 
> using R?  I am just looking for a simple example that shows where the 
> incrementing part should go.  Thanks!
>
>   
for (i in seq(<start>, <end>, by=2)) { ... }

vQ

______________________________________________
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