powered by
This is an internal utility function to compute the mode(s) of a discrete distribution.
.Mode(x, na.rm = TRUE)
A vector of values corresponding to the mode(s) of x.
A vector or matrix of discrete values.
A logical value indicating whether NA values should be stripped before the computation proceeds (default: TRUE).
Simon Garnier, garnier@njit.edu