Get the average value in an array
npm install ml-array-mean [![NPM version][npm-image]][npm-url]
[![npm download][download-image]][download-url]
Get the average value in an array.
$ npm install --save ml-array-mean
``js
import mean from 'ml-array-mean';
const result = mean([1, 5, 3, 2, 4]);
// 3
``
[npm-image]: https://img.shields.io/npm/v/ml-array-mean.svg?style=flat-square
[npm-url]: https://npmjs.org/package/ml-array-mean
[download-image]: https://img.shields.io/npm/dm/ml-array-mean.svg?style=flat-square
[download-url]: https://npmjs.org/package/ml-array-mean