quantile
Computes the specified quantile of all grouped values.
Description
The quantile
function returns the quantile of all numeric values in xs
,
specified by the argument q
, which should be a value between 0 and 1.
xs: list
The values to evaluate.
q: float
The quantile to compute, where q=0.5
represents the median.