node-quantile
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

node-quantile

使用 node 来计算分位数

用法说明

import Quantile from 'node-quantile';
// const Quantile = require('../').default;

const quantile = new Quantile([6, 7, 15, 36, 39, 40, 41, 42, 43, 47, 49]);

console.log(quantile.getPosition(0.25));
console.log(quantile.figure(0.25, 2));

参考资料

Readme

Keywords

Package Sidebar

Install

npm i node-quantile

Weekly Downloads

8

Version

0.1.3

License

MIT

Unpacked Size

19.3 kB

Total Files

21

Last publish

Collaborators

  • helinjiang