import * as simplestatistics from "https://deno.land/x/simplestatistics@v7.7.6/src/quantile_rank.js"; FunctionsfdefaultThis function returns the quantile in which one would find the given value in the given array. It will copy and sort your array before each run, so if you know your array is already sorted, you should use quantileRankSorted instead.