0.0.4 • Published 8 years ago

descriptive v0.0.4

Weekly downloads
4
License
ISC
Repository
github
Last release
8 years ago

descriptive

A library for descriptive statistics.

npm install descriptive

0.0.1

usage

import hist from 'descriptive';
// or
var hist = require('descriptive').default;

hist([4,4,4,4,4,4,1,1,1,6,6,6,6,6,6,6,7,7,7,7,7,7,7,8,8,8,8,9,9,9], {binCount: 5})

Will log to the console:

sample

contributing

You will need the gulp cli: npm install --global gulp-cli

The easiest way to dig in is to run the only gulp task so far, gulp hist, which takes two optional args:

--array and --binCount.

So for instance:

gulp hist --array=[1,2,2,3,1] --binCount=3

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago