Displaying 1 result from an estimated 1 matches for "maxmum".
Did you mean:
maximum
2009 Mar 19
2
find the index of the smallest or biggest number in a vetor or data.frame
Dear R experts,
How to find out the index of minimum or maxmum number in a vetor or
data.frame?
For example,
a=
n price
1 50
-2 100
0 200
-1 300
......
I want to find out the row which the n is the smallest or largestest and
extract the price.
Thanks
Ted
--
View this message in context: http://www.nabble.com/find-the-index-of-the-smalles...