analysis
v0.4.2
Published
Isomorphic Statistical Analysis using Javascript
Downloads
42
Maintainers
Readme
Analysis.js
An statistics library for the behavioural sciences written in TypeScript.
Dependencies
Installation
npm install --save analysis
Sample usage
All samples use ES6/TypeScript syntax.
Using Node.JS:
import * as Analysis from 'analysis'
/**
* TODO ...
*/
In the browser with webpack or browserify:
// app.js with jQuery
var stats = require('analysis');
$.get('/api/data')
.then(data => stats.descriptive.mode(data));
API
TODO
Testing
Clone the project and install the dependencies:
git clone https://github.com/seikho/analysis
cd analysis && npm install
Run the unit tests:
npm run test