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?

Reply via email to