Description Usage Arguments Examples
lag_dfr: Lag columns of a data frame
1 |
df |
The dataframe containing the time series data |
col_name |
The column name (single) to be used to create the lagged variables |
lags |
Number of lags to create for the column |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.