Java Mailing List Archive

http://www.r-help.com/

Home » R Help for Statistical Computing »

Re: [R] OUTPUT the row

glen_b

2010-03-20

Replies: Find Java Web Hosting

Author LoginPost 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.
©2008 r-help.com - Jax Systems, LLC, U.S.A.