Author Login
Post Reply
> 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
--
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
R-help@(protected)
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.