I would like to count how many time points have each ID for example:
ID Time
1 A 0
2 A 1
3 B 0
4 C 0
5 C 1
6 C 2
7 D 0
so I have Time 0 only: 2IDS that are: B and D Time 0 and 1 only: 1ID that is: A Time 1 only: none Time 0 and 2: none Time 0,1,2: 1ID that is: C
Thank you