I will try to make my point. Imagine I've got a vector with an unknown length and/or content like the next one:
col.vector = c(1, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 5, 5)
I want to extract all the elements that are repeated "n" times. Lets say 3 times, then I want to be returned a vector with the respective elements: c(3, 4).
Is there any simple function?