pub fn summary_string(&self) -> String {
        let mut values_lower: Vec<String> = vec!["╭ ".to_string()];
        let mut values_upper: Vec<String> = vec!["| ".to_string()];
        let mut points: Vec<String> =       vec!["╰ ".to_string()];
        for (p, lower, upper) in self.summary() {
            if p == 0.25 {
                points.push("[".to_string());
            } else if p == 0.95 {
                points.push("]".to_string());
            } else if p < 0.95 {
                points.push(" ".to_string());
            } else {
                points.push("-".to_string());
            }
            values_lower.push(" ".to_string());
            values_upper.push(" ".to_string());
            if p < 0.95 {
                points.push(format!("    {:<5}    ", p));
            } else if p != 1.0 {
                points.push(format!("--- {:<5} ---", p));
            } else {
                points.push("---| max     ".to_string());
            }
            values_lower.push(format!(" {:^11.6e} ", lower as f64));
            values_upper.push(format!(" {:^11.6e} ", upper as f64));
        }
        let mut res = values_lower;
        res.push("╮\n".to_string());
        res.extend(values_upper.into_iter());
        res.push("|\n".to_string());
        res.extend(points.into_iter());
        res.push("╯".to_string());
        res.join("")
    }
/// Output a text summary of estimated quantiles
Output a text summary of estimated quantiles
Output a text summary of estimated quantiles
pub fn summary_string(&self) -> String {
        let mut values_lower: Vec<String> = vec!["╭ ".to_string()];
        let mut values_upper: Vec<String> = vec!["| ".to_string()];
        let mut points: Vec<String> =       vec!["╰ ".to_string()];
        for (p, lower, upper) in self.summary() {
            if p == 0.25 {
                points.push("[".to_string());
            } else if p == 0.95 {
                points.push("]".to_string());
            } else if p < 0.95 {
                points.push(" ".to_string());
            } else {
                points.push("-".to_string());
            }
            values_lower.push(" ".to_string());
            values_upper.push(" ".to_string());
            if p < 0.95 {
                points.push(format!("    {:<5}    ", p));
            } else if p != 1.0 {
                points.push(format!("--- {:<5} ---", p));
            } else {
                points.push("---| max     ".to_string());
            }
            values_lower.push(format!(" {:^11.6e} ", lower as f64));
            values_upper.push(format!(" {:^11.6e} ", upper as f64));
        }
        let mut res = values_lower;
        res.push("╮\n".to_string());
        res.extend(values_upper.into_iter());
        res.push("|\n".to_string());
        res.extend(points.into_iter());
        res.push("╯".to_string());
        res.join("")
    }
pub fn summary_string ( & self ) -> String { let mut values_lower : Vec < String > = vec ! [ " t _string() ] ; let mut values_upper : Vec < String > = vec ! [ " " to_string ( ) ] ; let mut points : Vec < String > = vec ! [ " t _string() ] ; for ( p , lower , upper ) in self . summary ( ) { if p == 0.25 { points . push ( " " . to_string ( ) ) ; } else if p == 0.95 { points . push ( " " . to_string ( ) ) ; } else if p < 0.95 { points . push ( " " . to_string ( ) ) ; } else { points . push ( " " . to_string ( ) ) ; } values_lower . push ( " " . to_string ( ) ) ; values_upper . push ( " " . to_string ( ) ) ; if p < 0.95 { points . push ( format ! ( " " p ) ) ; } else if p != 1.0 { points . push ( format ! ( " " p ) ) ; } else { points . push ( " " . to_string ( ) ) ; } values_lower . push ( format ! ( " " lower as f64 ) ) ; values_upper . push ( format ! ( " " upper as f64 ) ) ; } let mut res = values_lower ; res . push ( " ". t o _string() ) ; res . extend ( values_upper . into_iter ( ) ) ; res . push ( " \n " . to_string ( ) ) ; res . extend ( points . into_iter ( ) ) ; res . push ( " t o _string() ) ; res . join ( " " ) }
Output a text summary of estimated quantiles
Output a text summary of estimated quantiles
&self
&self