Displaying 1 result from an estimated 1 matches for "ng12".
Did you mean:
g12
2011 Sep 13
2
Selecting row indices from a data.frame by a factor and simple calculation (miniumum)
...e and the numeric vector is absdiff
The query would return row indices 3 and 4 which have the minimum values for the factor.
I am sure it would involve some combination of which and tapply but cannot figure it out?
Many thanks, Barry
Dr Barry Rawlins
British Geological Survey
Keyworth
Nottingham
NG12 5GG
UK
Tel: 0115 9363140
Mob: 07884235473
homepage http://sites.google.com/site/barryrawlins/
--
This message (and any attachments) is for the recipient ...{{dropped:8}}