View source: R/explain_forecast.R
reg_forecast_setup | R Documentation |
Set up exogenous regressors for explanation in a forecast model.
reg_forecast_setup(x, horizon, group)
x |
A matrix with the exogenous variables. |
horizon |
Numeric.
The forecast horizon to explain. Passed to the |
group |
The list of endogenous groups, to append exogenous groups to. |
A list containing
fcast A matrix containing the exogenous observations needed for each observation.
group The list group with the exogenous groups appended.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.