Function to calculate a forecast using a linear regression approach, this is the same function used on excel and other data sheet programs.
reference:
- https://support.microsoft.com/en-us/offi...
- https://stackoverflow.com/questions/3937...
reference:
- https://support.microsoft.com/en-us/offi...
- https://stackoverflow.com/questions/3937...
Release Notes:
updated description and added extra example