lorenz-curve
Installation
npm install lorenz-curve --save
API
lorenzCurve(data: Number[], precision: Number)
Parameter | Type | Description |
---|---|---|
data |
Number[] |
Data set |
precision |
Number |
Precision for ratios (default: 2) |
Usage
const x y = assertassert
If you are using require
, you have to attach .default
.
Author
Julian Claus and contributors.
License
MIT