/** * Calculates the quantile at 0 < p < 1 using the R-7 algorithm. * * @method quantile * @memberof ran.shape * @param {number[]} values Array of values to calculate quantile for. * @param {number} p Value to calculate quantile at. * @returns {number} The quantile of the sample, or NaN for an empty array. */ export default function (values: number[], p: number): number;