2.0.0 • Published 12 months ago

node-correlation v2.0.0

Weekly downloads
1,530
License
MIT
Repository
github
Last release
12 months ago

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));