Description Usage Arguments Value
View source: R/forecasting_helpers.R
The modified basis splines are used to capture any long term trends per geographic group.
1 |
x |
Vector of weekly observation dates. |
degree |
Degree passed to splines::bs(). |
maxobs |
Date of the last known value. |
minobs |
Date of the first known value. |
A modified b-spline basis with the last basis splines reversed and the second to last basis spline function removed (to reduce the edge effects of using splines).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.