[−][src]Trait agnes::stats::Mean
A trait for calculating the arithmetic mean of a field.
Required methods
fn mean(&self) -> f64
Compute the arithmetic mean of a field. Ignores missing values in the computation. If all
values missing, returns 0.0
.
Implementors
impl<DI> Mean for DI where
DI: DataIndex + NaCount + Sum,
<DI as Sum>::Output: AsPrimitive<f64>,
[src]
DI: DataIndex + NaCount + Sum,
<DI as Sum>::Output: AsPrimitive<f64>,