A numeric search for the mode(s) of a distribution.
mode(object, which = "all")
Distribution.
which mode of the distribution should be returned, default is all.
The estimated mode as a numeric, either all modes (if multiple) or the ordered mode given in which
.
$mode(which = "all")
If the distribution has multiple modes, all are returned by default. Otherwise the index of the mode to return can be given or "all" if all should be returned.
If an analytic expression isn't available, returns error. To impute a numerical expression, use the
CoreStatistics
decorator.
CoreStatistics
and decorate
.