Skip to content
Prev 274222 / 398506 Next

loop function within a loop

On Oct 12, 2011, at 10:55 AM, Sally Zhen wrote:

            
Not generally a good first strategy in R.
Wouldn't this just be:

dfrm[order(dfrm$group, dfrm$event), ]

(Ascending is the default ordering.)