[R] aggregate binary response data

Graham Leask grahamleask at btinternet.com
Thu Dec 24 13:56:48 CET 2009

Dear list

I have a response variable coded 0/1 i.e. a binary response. There are  
20,000 individual responses that I would like to aggregate into  
numbers of each category (i.e. 0/1) by
group called dn (350 different groups) and by month mth (there are  
several hundred responses per month.

What is the simplest way to perform this operation in R?

More information about the R-help mailing list