wstates makes it easy to spatial lag variables in country-year data sets. Since the number of indepdendent states fluctuates over time, the weights matrices for spatial lagging are also non-constant. wstates automates the process of finding the correct one at any given time. Companian package for the states package.
Package details |
|
|---|---|
| Maintainer | |
| License | MIT + file LICENSE |
| Version | 0.0.0.9004 |
| URL | https://github.com/andybega/wstates https://www.andybeger.com/wstates |
| Package repository | View on GitHub |
| Installation |
Install the latest version of this package by entering the following in R:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.