I have:
c(17,20,30,12,30,20,17,20)
I want:
data.frame(c(1,2,3,2),c(12,17,20,30))
So unique values for the first vector shall be counted and sorted. the number of the counting should be in the first array.
I have:
c(17,20,30,12,30,20,17,20)
I want:
data.frame(c(1,2,3,2),c(12,17,20,30))
So unique values for the first vector shall be counted and sorted. the number of the counting should be in the first array.