Skip to main content

mode

Function mode 

Source
pub fn mode(x: &[f64]) -> Result<(f64, usize), ErrorsJSL>
Expand description

The most frequent value and its count; ties go to the smallest value (SciPy’s mode).