Calculates the percentile of a number in an array.
The array
The number
const result = Chalkboard.stat.percentile([1, 2, 3, 4, 5], 50); // Returns 3 Copy
const result = Chalkboard.stat.percentile([1, 2, 3, 4, 5], 50); // Returns 3
Calculates the percentile of a number in an array.