new mode()
- Source
Methods
(static) mult(values) → {number}
Returns a vertical array of the most frequently occurring, or repetitive values in an array or range of data.
Parameters:
Name | Type | Description |
---|---|---|
values | mumber | number1, number2, ... Number arguments 2 to 254 for which you want to calculate the mode. You can also use a single array or a reference to an array instead of arguments separated by commas. |
- Source
Returns:
a vertical array of the most frequently occurring, or repetitive values in an array or range of data or an error if the arguments are incorrect.
- Type:
- number
(static) sngl(values) → {number|Error}
Returns the most common value in a data set.
Parameters:
Name | Type | Description |
---|---|---|
values | Array.<number> | number1, number2, ... Arguments 2 to 254 for which you want to calculate the mode. You can also use a single array or a reference to an array instead of arguments separated by commas. |
- Source
Returns:
the most common value in a data set or an error if the arguments are incorrect.
- Type:
- number |
Error