divideBy method
Divide this statistics fields by n
.
Implementation
Statistics<double> divideBy(num n) {
return Statistics(
length / n,
min / n,
max / n,
medianLow: medianLow / n,
medianHigh: medianHigh / n,
sum: sum / n,
squaresSum: squaresSum / n,
mean: mean / n,
standardDeviation: (standardDeviation / n).ifNaN(0.0),
);
}