Description Usage Arguments Value Examples
A function that lags a variable, respecting panel id structure and missing values. Assumes annual panel data, and difference between year is 1, and year is a number.
1 |
tbl |
A tbl of panel data; id “'id“', year “'year“' |
w_var |
The (quoted or unquoted) name of the weight variable to create. |
A tbl of panel data with weights applied.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.