Calculate the mode of a sample
modal.value(x)
x
a vector containing the sample values.
The mode of the sample. In the case of a tie, the minimum is returned.