[R] extremely simple "for loop" question

Paul Roebuck roebuck at mdanderson.org
Wed Apr 12 23:02:50 CEST 2006


On Wed, 12 Apr 2006, Brian Quinif wrote:

> I want to do a for loop in which m takes on the values
> 1, 5, 10, 15, 20.  What is the syntax for doing that?
>
> I had been doing a loop for m in 1:20, but I only want
> those values above.

?seq

----------------------------------------------------------
SIGSIG -- signature too long (core dumped)




More information about the R-help mailing list