[R] does there any function like sumif in excel?
jholtman at gmail.com
Mon Sep 29 04:45:10 CEST 2008
yourData$B[yourData$A == someValue]
On Sun, Sep 28, 2008 at 10:25 PM, caocheng曹成 <caocheng8230 at gmail.com> 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 at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
+1 513 646 9390
What is the problem that you are trying to solve?
More information about the R-help