Displaying 1 result from an estimated 1 matches for "aclul".
Did you mean:
aclu
2011 Sep 13
2
Selecting row indices from a data.frame by a factor and simple calculation (miniumum)
Hello
I wish to extract the row indices from a data.frame in which a column contains numeric data by calculating the minimum value, but grouped on another column factor:
An example data.frame:
Code absdiff
NY14/3070 2
NY14/3070 4
NY14/3070 1
NY14/5459 5
NY14/5459 7
So in this case the factor is Code and the numeric vector is absdiff
The