Skip to content
Prev 86278 / 398503 Next

aggregate vs tapply; is there a middle ground?

hadley wickham <h.wickham at gmail.com> writes:
Anything wrong with
A B       Freq
1  A a         NA
2  B a -0.2524320
3  C a  3.8539264
4  D a         NA
5  A c  0.7227294
6  B c -0.2694669
7  C c  0.4760957
8  D c         NA
9  A e         NA
10 B e  0.1800500
11 C e         NA
12 D e -1.0350928

(except the silly colname, responseName="sum" should fix that).