I have a certainly stupid question, but here is how looks my data:
A
A
A
B
B
C
D
D
D
D
All I want to do is that :
A 1
A 2
A 3
B 1
B 2
C 1
D 1
D 2
D 3
D 4
I guess it should be with a group by function and an easy line in R, but I don't find words to find the good topic.
Thanks