Description Usage Arguments Details Value Author(s) See Also Examples
Function expands the provided matrix or vector of variables, producing
values with lags and leads specified by lags
variable.
1 2 3 
xreg 
Vector / matrix / data.frame, containing variables that need
to be expanded. In case of vector / matrix it is recommended to provide

lags 
Vector of lags / leads that we need to have. Negative values mean lags, positive ones mean leads. 
silent 
If 
gaps 
Defines how to fill in the gaps in the data. 
... 
This is temporary and is needed in order to capture "silent" parameter if it is provided. 
This function could be handy when you want to check if lags and leads
of a variable influence the dependent variable. Can be used together
with xregDo="select"
in es, ces,
gum and ssarima. All the missing values
in the beginning and at the end of lagged series are substituted by
mean forecasts produced using es.
ts
matrix with the expanded variables is returned.
Ivan Svetunkov, [email protected]
1 2 3 4 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.