Displaying 1 result from an estimated 1 matches for "deado".
Did you mean:
dead
2012 Jul 30
2
Alternating between "for loops"
Dear All,
I would like to apply two different "for loops" to each set of four columns
of a matrix (the loops here are simplifications of the actual loops I will
be running which involve multiple if/else statements).
I don't know how to "alternate" between the loops depending on which column
is "running through the loop" at the time.
## Set up matrix
J <- 10
N