easy_stats

Crates.ioeasy_stats
lib.rseasy_stats
version0.1.1
sourcesrc
created_at2022-07-06 07:39:58.281091
updated_at2022-07-06 08:30:36.74274
descriptionA simple rust package to perform basic descriptive stats on a data set.
homepage
repositoryhttps://github.com/masaimahapa/rust-stats
max_upload_size
id620317
size3,624
Masai (masaimahapa)

documentation

README

Rust easy stats

easy_stats is a library which contains functions that make it easy to perform basic descriptive statistics.

Usage

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);

Contributing

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.

Commit count: 8

cargo fmt