Packages / rupm

stats-tools 0.1.0

Mean, median, variance, percentiles, histograms and correlation

Install

cargo add stats-tools --registry rupm

In Ruststudio: Packages, search for stats-tools, Install.

Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-22.

Versions

README

# stats-tools

Mean, median, variance, percentiles, histograms and correlation

Add it with `rupm add stats-tools` (or `cargo add stats-tools --registry rupm`).

```rust
let xs = [1.0, 2.0, 3.0, 4.0];
assert_eq!(stats_tools::mean(&xs), Some(2.5));
assert_eq!(stats_tools::median(&xs), Some(2.5));
```