Description Usage Arguments Value
manyLaggedValues
returns the dataset with lagged values (suffix Lx where x is the lag number)
1 | manyLaggedValues(data, columnNames, timeColumn, lag, period = "months")
|
data |
A dataframe with data and a monthly period column |
columnNames |
Column names that are to be lagged |
timeColumn |
The name of the period column (YYYY-MM-DD) |
lag |
The lag expressed in the number of months |
period |
The period name (deafult = months) |
A dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.