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.
|License||MIT + file LICENSE|
|Package repository||View on GitHub|
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.