Skip to content
Prev 175760 / 398506 Next

Calculating First Occurance by a factor

On Wed, Apr 1, 2009 at 11:00 AM, hadley wickham <h.wickham at gmail.com> wrote:
Or alternatively:

ddply(data, .(Sub, Tr, IA), subset, FixInx == min(FixInx))

which might be a bit easier to understand.

Hadley