[R] OUTPUT the row

GlenB glnbrntt at gmail.com
Sat Mar 20 07:23:50 CET 2010



> a<-read.table(stdin(),header=TRUE)
0: id      k    Age    Height  
1: 23     2     23      60
2: 12     3     28      58
3: 19     4     18      55
4: 37     5     22      54 
5: 
> with(a,k[Age==min(Age)])
[1] 4

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



More information about the R-help mailing list