stats 1.0.0

Dart native js
Flutter Android iOS web

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

void main() {
  final input = [1, 2, 3, 4, 5, 6, 7, 8];
  print('Input: $input');
  final stats = Stats.fromData(input);
  // {count: 8, mean: 4.5, median: 4.5, max: 8, min: 1, standardDeviation: 2.29, rms: 5.05}
  print(stats.withPrecision(3));
}
4
likes
110
pub points
84%
popularity

Publisher

j832.com

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

json_annotation

More

Packages that depend on stats