UNPKG

calculate-correlation

Version:

Calculates the correlation coefficient of two arrays. Simple, with no dependencies

5 lines (3 loc) 170 B
// export the calculator fn module.exports = require('./lib/correlation'); // TODO maybe provide name exports of other functions for avg, std dev, variance, etc... 🤔