Skip to main content
Module

x/simplestatistics/src/mode_fast.js

simple statistics for node & browser javascript
Go to Latest
import * as simplestatistics from "https://deno.land/x/simplestatistics@v7.7.5/src/mode_fast.js";

Functions

The mode is the number that appears in a list the highest number of times. There can be multiple modes in a list: in the event of a tie, this algorithm will return the most recently seen mode.