Crates.io | easy_stats |
lib.rs | easy_stats |
version | 0.1.1 |
source | src |
created_at | 2022-07-06 07:39:58.281091 |
updated_at | 2022-07-06 08:30:36.74274 |
description | A simple rust package to perform basic descriptive stats on a data set. |
homepage | |
repository | https://github.com/masaimahapa/rust-stats |
max_upload_size | |
id | 620317 |
size | 3,624 |
easy_stats is a library which contains functions that make it easy to perform basic descriptive statistics.
Calculate the mean from a list of numbers:
use easy_stats;
let arg = vec![1.0,2.0,3.0,4.0, 5.0];
let average = easy_stats::mean(&arg);
assert_eq!(3.0, average);
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.