Skip to content
Prev 169237 / 398506 Next

counting entries in vector

Try:

table(k)[rank(unique(k))]

-ian
Armin Meier wrote: