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.

Thanks!


~tj 
-- 
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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to