Neutron Polarization Manipulator

npm

Need private packages and team management tools?Check out npm Orgs. »

stats-mean

1.0.0 • Public • Published

Mean Build Status

Calculate mean of data.

Installation

$ npm install stats-mean

Usage

var mean = require('stats-mean');
 
var data = [1, 10, 100, 45, -4, 0.9, -16];
 
mean.calc(data); // → 19.5

API

calc(data)

data

Type: array

The data to be analysed; an array of numbers.

License

MIT © Michał Jezierski

install

npm i stats-mean

Downloadsweekly downloads

12

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability