Calculates a quartile of an array.
The array
The type of quartile, which can be "Q1", "Q2", or "Q3"
const result = Chalkboard.stat.quartile([1, 2, 3, 4, 5, 6, 7], "Q2"); // Returns the median Copy
const result = Chalkboard.stat.quartile([1, 2, 3, 4, 5, 6, 7], "Q2"); // Returns the median
Calculates a quartile of an array.