OPEN-SOURCE SCRIPT
Atualizado

Function - Forecast Linear

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.microsoft.com/en-us/office/forecast-and-forecast-linear-functions-50ca49c9-7b40-4892-94e4-7ad38bbeda99?ui=en-us&rs=en-us&ad=us
- stackoverflow.com/questions/39373328/forecast-formula-from-excel-in-javascript
Notas de Lançamento
updated description and added extra example

Aviso legal