Commonest
Commonest(dataValueList)
the mode of a list of data values is the value that appears most often.
Commonest(dataValueList, n)
return the
n
values that appears most often.
See
Examples
>> Commonest({1, 3, 6, 6, 6, 6, 7, 7, 12, 12, 17}){6}
Given the list of data {1, 1, 2, 4, 4}
the mode is not unique – the dataset may be said to be bimodal, while a set with more than two modes may be described as multimodal.
>> Commonest({1, 1, 2, 4, 4}){1,4}
Related terms
Implementation status
- ✅ - full supported