/mean

Calculate mean

Primary LanguageJavaScript

Mean Build Status

Calculate mean of data.

Installation

$ npm install @elstats/mean

Usage

const mean = require('@elstats/mean');

mean([1, 10, 100, 45, -4, 0.9, -16]); // → 19.5

License

MIT © Michał Jezierski