Function to calculate a forecast using a linear regression approach, this is the same function used on excel and other data sheet programs.
reference:
- support.microso...e4-7ad38bbeda99?ui=en-us&a...
- stackoverflow.com/qu...-excel-in-javascript
reference:
- support.microso...e4-7ad38bbeda99?ui=en-us&a...
- stackoverflow.com/qu...-excel-in-javascript
Catatan Rilis:
updated description and added extra example