I think that countmap in StatsBase does that Den torsdag den 26. marts 2015 skrev DumpsterDoofus < [email protected]>:
> In Mathematica, there is a function called Tally which takes a list and > returns a list of the unique elements of the input list, along with their > multiplicities. I.e, it takes a list of length N and returns an array of > dimensions (N,2), namely the pairs of elements and the number of times they > appear. > > Is there a similar (but perhaps differently-named) function in Julia to > tally a list? >
