0.0.4-cbt • Published 6 years ago
statistic v0.0.4-cbt
statistic.js
a reduce function that calculates mean for standard deviation and other needed
First, install the statistic.js module, using npm install statistic, then include the code with require or import:
- When you use
require, you have the freedom to assign the module to any variable name you want, but you need to specify the module's name exactly: in this case, 'statistic'. Therequiremethod returns an object with all of the module's methods attached to it. var { Statistic } = require('statistic') - When you use
importto use modules in my project. I'm probably using Babel,@std/esm, Webpack, or Rollup. Include a specific named export: import { Statistic } from 'statistic'