stats 0.2.0+2 copy "stats: ^0.2.0+2" to clipboard
stats: ^0.2.0+2 copied to clipboard

outdated

Calculate common statistical values for a set of numbers: max, min, mean, median, standard deviation, and standard error.

Build Status Pub

import 'package:stats/stats.dart';

main() {
  var input = [1, 2, 3, 4, 5, 6, 7, 8];
  print("Input: $input");
  var stats = Stats.fromData(input);
  // {count: 8, mean: 4.5, median: 4.5, max: 8, min: 1, standardDeviation: 2.29}
  print(stats.withPrecision(3));
}
31
likes
0
pub points
88%
popularity

Publisher

verified publisherkevmoo.com

Calculate common statistical values for a set of numbers: max, min, mean, median, standard deviation, and standard error.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

json_annotation

More

Packages that depend on stats