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

noobmin pseudovoid at hotmail.com
Tue Oct 23 21:00:36 CEST 2012


I meant where obama has higher value compared to other candidates. Looking at
the column NY, Obama has the highest. So to state that he wins. Looking for
AR column, Michelle wins. I JUST want to list where obama wins.

Thank you! This seems to work, just do not understand why you used a
threshold? 

I will study your solution, thanks again!



--
View this message in context: http://r.789695.n4.nabble.com/How-to-use-tapply-with-more-than-one-variables-grouped-tp4646948p4647203.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list