- quantileIndex(iterable, p): number
Parameters
iterable: Iterable<Numeric>
p: number
Returns number
- quantileIndex<T>(iterable, p, accessor): number
Parameters
iterable: Iterable<T>
p: number
accessor: ((element, i, array) => number)
- (element, i, array): number
Parameters
element: T
i: number
array: Iterable<T>
Returns number
Returns number
Similar to quantile, but returns the index to the left of p.