new quartile()
- Source
Methods
(static) exc(range, quart) → {number}
Returns the quartile of the data set, based on percentile values from 0..1, exclusive.
Parameters:
Name | Type | Description |
---|---|---|
range | Array.<number> | The array or value range of numeric values for which you want the quartile value. |
quart | number | Indicates which value to return. |
- Source
Returns:
the quartile of the data set, based on percentile values from 0..1, exclusive or an error if the arguments are wrong.
- Type:
- number
(static) inc(range, quart) → {number}
Returns the quartile of a data set.
Parameters:
Name | Type | Description |
---|---|---|
range | Array.<number> | The array or value range of numeric values for which you want the quartile value. |
quart | number | Indicates which value to return. |
- Source
Returns:
the quartile of a data set or an error if the arguments are incorrect.
- Type:
- number