Compute mode for a statistical distribution
Value
The value that appears most frequently in the provided data. The returned data structure will be the same as the entered one.
See also
For continuous variables, the
Highest Maximum a Posteriori probability estimate (MAP) may be
a more useful way to estimate the most commonly-observed value
than the mode. See bayestestR::map_estimate()
.