Description Usage Arguments Value Examples
a function to take lags and leads with panel data, mostly a wrapper for plm
's lag function.
1 |
x |
variable to lag |
k |
how many lags to take? If a negative number, leads will be generated. |
... |
other options to pass to |
returns lag of the variable as a data frame
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.