Description Usage Arguments Value
Add lags
1 |
data |
(data frame) Data with variables to create lags for. |
lags |
(list) List of lags to include for each variable variables. Element name should be variable and numeric values will give lags. Lags should be specified as number of half-hourly periods, e.g., c(1, 3, 5) will create 30, 90 and 150 minute lags. |
Data frame with additional lags.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.