Skip to content

quantile

quantile(sorted, fraction): number

Defined in: quantile.ts:8

Linear-interpolated quantile of an already-sorted sample.

readonly number[]

Values in ascending order. Not modified, not re-checked.

number

Quantile to compute, in [0, 1].

number

The quantile, or NaN for an empty sample.