[R] If...while...or what else??

Gabor Grothendieck
Tue, 13 Jan 2009 15:28:27 -0000

If efficiency is not of concern then this is easy to understand:

for(i in 1:5) for(j in 1:5) if (i < j) { ... }


On Tue, Jan 13, 2009 at 8:20 AM, Niccol? Bassani
<biostatistica at gmail.com> wrote: