UNPKG

als-statistics

Version:

A powerful and lightweight JavaScript library for descriptive statistics, regression, clustering, outlier detection, and noise analysis using a flexible table/column architecture.

21 lines (15 loc) 342 B
## Installation ### Via npm ```bash npm install als-statistics ``` ### Browser Usage Include the script in your HTML: ```html <script src="node_modules/als-statistics/statistics.js"></script> <script> const { newColumn } = Statistics; const col = newColumn([1, 2, 3]); console.log(col.mean); // 2 </script> ```