Skip to content
Prev 325103 / 398503 Next

reshaping a data frame

Thanks everyone for your quick reply. I think my contrived example hid
the complexity I wanted to show by using only one variable.

@Arun: I think your example is exactly what I was looking for. Very
cool trick with 'ave' and 'seq_along'...just dint occur to me.

Best,
-Abh
Message-ID: <CAJbA1KBiT7NhJByE7G5PzzOu_3N_GREgLR=-nq96bf8Qd__N-A@mail.gmail.com>
In-Reply-To: <CAJbA1KBjbA73PTzEO=exeDpDde1OJoyn+3DUdR0Wkf5F0LYLJQ@mail.gmail.com>