pub fn quantile(data: &[f64], p: f64) -> Result<f64, String>
Quantile at probability p (0.0 to 1.0). Linear interpolation between adjacent ranks (R type 7 / NumPy default).