Re: [R] what fun I need to put in this "tapply"

2007-05-14 Thread Sundar Dorai-Raj
Weiwei Shi said the following on 5/14/2007 11:04 AM: > Hi, > I happened to need generate the following >> t1 > V1 V2 count count2 > 1 1 11 2 3 > 2 1 12 2 2 > 3 2 11 1 3 > 4 3 13 3 1 > 5 3 11 3 3 > 6 3 12 3 2 > > from > V1 V2 > 1 1

[R] what fun I need to put in this "tapply"

2007-05-14 Thread Weiwei Shi
Hi, I happened to need generate the following > t1 V1 V2 count count2 1 1 11 2 3 2 1 12 2 2 3 2 11 1 3 4 3 13 3 1 5 3 11 3 3 6 3 12 3 2 from V1 V2 1 1 11 2 1 12 3 2 11 4 3 13 5 3 11 6 3 12 I am wondering what function of funx I