View source: R/feature_engineering.R
This function generate AR for response and features
1 | lag_features(.data, lag_var = list())
|
.data |
data-frame or tibble |
lag_var |
list: defines the number of lag periods for a given variable, for instance, list(y_var = 1) will generate a lag (autoregressive) variable of 1 period. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.