Share your code. Components are building blocks, you are the architect.

utils/mean
v1.1.0
1.1.0
1.0.0
MIT
PUBLIC
3
Build: fail
BuildFail
Build Status: fail
Returns the mean of the given list of numbers.

Please configure Bit as a scoped registry to install components with NPM.Learn more

npm config set '@bit:registry' https://node.bitsrc.io
Use utils/mean in your project
npm i @bit/bit.ramda.utils.mean
Copied

mean (list:Array) : Number

Returns the mean of the given list of numbers.

Example

R.mean([2, 7, 9]); //=> 6
     R.mean([]); //=> NaN

Argument

list: Array

Returns

Number