Skip to content

mode

mode(values): number[]

Defined in: average.ts:181

Calculates the mode of a list of numbers.

The mode is the number that appears most frequently in the list. If multiple numbers have the same highest frequency, all of them are returned.

readonly number[]

The values to calculate the mode of, as an array or as separate arguments.

number[]

Mode of the numbers (can be multiple values).

https://en.wikipedia.org/wiki/Mode_(statistics)

mode(…values): number[]

Defined in: average.ts:182

Calculates the mode of a list of numbers.

The mode is the number that appears most frequently in the list. If multiple numbers have the same highest frequency, all of them are returned.

…number[]

The values to calculate the mode of, as an array or as separate arguments.

number[]

Mode of the numbers (can be multiple values).

https://en.wikipedia.org/wiki/Mode_(statistics)