pub struct BoxStats {
pub q1: f64,
pub median: f64,
pub q3: f64,
pub whisker_low: f64,
pub whisker_high: f64,
pub outliers: Vec<f64>,
}Expand description
Summary statistics for a single group in a box plot.
Holds the quartiles, whisker endpoints, and outliers computed from raw data. The whisker limits are determined by the interquartile range multiplied by a configurable factor (default 1.5).
Fields§
§q1: f64First quartile (25th percentile).
median: f64Median (50th percentile).
q3: f64Third quartile (75th percentile).
whisker_low: f64Lower whisker endpoint (lowest datum within Q1 - factor * IQR).
whisker_high: f64Upper whisker endpoint (highest datum within Q3 + factor * IQR).
outliers: Vec<f64>Data points falling outside the whisker range.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BoxStats
impl RefUnwindSafe for BoxStats
impl Send for BoxStats
impl Sync for BoxStats
impl Unpin for BoxStats
impl UnsafeUnpin for BoxStats
impl UnwindSafe for BoxStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more