Function quantile

  • Calculates the quantile value of an array at a specified percentile.

    Returns

    • The quantile value.

    Parameters

    • arr: number[]

      The array of numbers to calculate the quantile value from.

    • q: number

      The percentile to calculate the quantile value for.

    Returns number

Generated using TypeDoc