Calculate mean of data.
$ npm install @elstats/mean
const mean = require('@elstats/mean');
mean([1, 10, 100, 45, -4, 0.9, -16]); // → 19.5
MIT © Michał Jezierski
Calculate mean
Calculate mean of data.
$ npm install @elstats/mean
const mean = require('@elstats/mean');
mean([1, 10, 100, 45, -4, 0.9, -16]); // → 19.5
MIT © Michał Jezierski