[R] How to use tapply with more than one variables grouped

Bert Gunter gunter.berton at gene.com
Tue Oct 23 21:32:41 CEST 2012

You're posting on Nabble, so we don't see earlier messages in the thread here.

-- Bert

On Tue, Oct 23, 2012 at 11:36 AM, noobmin <pseudovoid at hotmail.com> wrote:
> The criteria is to list where Obama has a higher number of contributions. The
> table shows the number of contribution that each presidential candidate
> received in a state of the country.
> The table shown is an example, the query should be generic to a database
> with hundreds of candidates and dozens of states of the country. The
> original base has 450 mb, in real database I'm don't know  how many contry
> states Obama has more donations, but in sample is in CA and NA. Michelle
> wins more contribution on AR....
> Thanks
> --
> View this message in context: http://r.789695.n4.nabble.com/How-to-use-tapply-with-more-than-one-variables-grouped-tp4646948p4647196.html
> Sent from the R help mailing list archive at Nabble.com.
> ______________________________________________
> R-help at 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.


Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374

More information about the R-help mailing list