Description Usage Arguments Details Value See Also
Create Centers the lag winow around Lag 0, with width p on each side.
1 | centered_lagged_windows(x, p = 1, pstr = deparse(substitute(x)))
|
x |
data input (can handle multi-column data, such as data.frames) |
p |
window length around lag 0. |
pstr |
name of data column |
Use this function for creating features from time-series that are available in future.
A time-series object of lagged and leaded x. If p == 0
, x
itself is returned. If p < 0
, NULL
is returned.
lag_windows
, seasonal_lag_windows
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.