stats

Creator: coderz1093

Last updated:

0 purchases

stats Image
stats Images

Languages

Categories

Add to Cart

Description:

stats

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);
print(stats.withPrecision(3));
// {
// "count": 8,
// "average": 4.5,
// "min": 1,
// "max": 8,
// "median": 4.5,
// "standardDeviation": 2.29
// }
}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.