Lag a time-series cross-sectional variable
1 |
df |
a data frame containing the unit ID variable and time variables as well as location' and dependent variables. |
id_var |
a character string identifying the unit ID variable in
|
time_var |
a character string identifying the time variable in
|
weight_name |
character string providing a custom weighting variable name. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.