[R] OUTPUT the row

tj girlme80 at yahoo.com
Sat Mar 20 04:20:40 CET 2010

Hi... Please help me with this. 

In R, if I have this dataframe:

id      k    Age    Height   
23     2     23      60
12     3     28      58
19     4     18      55
37     5     22      54

My question is, I want to get the value of k that has the minimum age.
So in this dataframe, the minimum age is 18, so I want to create a code that
will give me the answer which is 4.


View this message in context: http://n4.nabble.com/OUTPUT-the-row-tp1644200p1644200.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list