Skip to content
Back to formatted view

Raw Message

Message-ID: <23579979.post@talk.nabble.com>
Date: 2009-05-17T03:42:47Z
From: Ben Bolker
Subject: Row number of minimum value?
In-Reply-To: <23578215.post@talk.nabble.com>

MikSmith wrote:
> 
> This *must* be an insanely easy thing to work out, but I'm not too
> familiar with R syntax. So how do I work out the row number (if I pass a
> column) of the minimum value?? I can get the value itself from min(), but
> where can I get the row??
> 

?which
?which.min

 Ben Bolker

-- 
View this message in context: http://www.nabble.com/Row-number-of-minimum-value--tp23578215p23579979.html
Sent from the R help mailing list archive at Nabble.com.