search for: caocheng

Displaying 2 results from an estimated 2 matches for "caocheng".

2008 Sep 29
3
does there any function like sumif in excel?
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]]
2008 Oct 15
0
R-help Digest, Vol 67, Issue 31
..._________________________________________________ [[elided Yahoo spam]] ------------------------------ Message: 25 Date: Mon, 29 Sep 2008 07:20:38 -0700 (PDT) From: John Kane <jrkrideau at yahoo.ca> Subject: Re: [R] does there any function like sumif in excel? To: R-help at r-project.org, caocheng?? <caocheng8230 at gmail.com> Message-ID: <972822.20441.qm at web38408.mail.mud.yahoo.com> Content-Type: text/plain; charset=utf-8 There are several ways to subset the dataframe ?select will give you one. or mydata[mydata$A=value]<- mydata then apply sum() I do not think there...