I kind of like the name "tally" for this functionality.

On Thu, Mar 26, 2015 at 10:27 PM, Andreas Noack <
[email protected]> wrote:

> 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?
>>
>

Reply via email to