This summaryBy worked wonders! Thanks a lot djmuseR, I own you a beer!
> library(doBy)
> summaryBy(C ~ A + B, data = DF0, FUN = sum)
A B C.sum
1 52 1 124
2 52 59 38
3 52 97 75
4 57 1 64
5 57 6 26
6 57 114 12
7 89 1 192
8 89 6 20
9 89 29 137
10 89 52 13
11 89 57 10
12 89 97 23
--
View this message in context:
http://r.789695.n4.nabble.com/rowsum-tp3003551p3003661.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
[email protected] 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.