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

noobmin pseudovoid at hotmail.com
Tue Oct 23 20:36:44 CEST 2012


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.



More information about the R-help mailing list