All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Updated dependencies (dev).
- Updated dependencies (dev).
- Updated dependencies (dev).
- Pull requests from dependabot to fix a couple alerts.
- Correction on the config object for the second example in README.
- The main function accepts a config object as the third argument. The user can setup the type of the result (
Number
orString
), and the max number of decimals to round the result to.
- Version of lodash bumped from 4.17.15 to 4.17.19 by dependabot and package-lock.json updated.
- Rounded (precisely) result to 9 decimal positions.
🎊 Initial release
- Main function (and helpers) to calculate the Pearson correlation coeficient of two arrays of numbers.
- Checks for correct number of arrays, arrays of same length, with valid content.
- Basic tests for all functions.