Spatial lagger for country-year data
1 | spatlag(x, ccode, date, w_func = w_contiguity)
|
x |
variable to lag |
ccode |
vector of numeric G&W country codes to subset |
date |
vector of date for which to construct state set |
w_func |
foo |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.