node-correlation
v2.0.0
Published
A Node.JS script to calculate correlation between two arrays.
Downloads
618
Readme
node-correlation
A Node.JS script to calculate correlation between two arrays.
Install
yarn add node-correlation
Usage
import { correlation } from 'node-correlation';
const a = [1, 2, 3, 4, 5];
const b = [0, 6, 2, 10, 4];
console.log(correlation(a, b));