Displaying 1 result from an estimated 1 matches for "tp3898001p3898300".
Did you mean:
tp3898001p3898001
2011 Oct 12
1
R loop within a loop
Hi,
I'm working on a loop function for a large dataset which contains 1000
different groups. I would like to reconstruct the order of events within
each group by using a loop function in R. (Currently the order of events are
based on the ascending order of prev_event within the group)
A demo data frame:
event prev_event group
845 0 5360
926 153