yourData$B[yourData$A == someValue] On Sun, Sep 28, 2008 at 10:25 PM, caocheng曹成 <[EMAIL PROTECTED]> wrote: > I have a data.frame datas which have two columns A and B. > I want to filter column A by some values and to get a value list which > contain the value in B. > Best wishes! > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. >
-- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve? ______________________________________________ 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.