• Calculates a quartile of an array.

    Parameters

    • arr: number[]

      The array

    • type: "Q1" | "Q2" | "Q3"

      The type of quartile, which can be "Q1", "Q2", or "Q3"

    Returns number

Generated using TypeDoc