Description Usage Arguments Value References Examples
Calculating Geographical Diffusion
1 |
df |
data frame to read in. Data frame should include a variable that is a character list of each observation's neighbors. |
id |
the grouping variable, usually states or counties |
neighbors |
a variable that is a |
time |
the time variable, at which observations are measured. |
status |
binary, user-defined measure of the status of policy or event in a state in a given year. |
end |
logical (default set to |
keep |
logical (default set to |
This function updates the data frame with a new variable capturing the geographical diffusion score.
Berry, William D., Ringquist, Evan J., Fording, Richard C.,
and Hanson, Russell L.
(1998) 'Measuring Citizen and Government Ideology
in the American States, 1960-93.'
American Journal of Political Science 42:327-348.
doi: 10.2307/2991759.
Soule, Sarah A., and King, Brayden G.
(2006) 'The Stages of the Policy Process
and the Equal Rights Amendment, 1972-1982.'
American Journal of Sociology 111:1871-1909.
doi: 10.1086/499908.
This function calculates the percent (or proportion) of geographically contiguous neighbors that have engaged in some event (e.g. policy adoption) in a given year. This function can be applied to any unit of analysis and time level for any type of event.
1 2 3 | data <- Ideology_ERA
geog.diffuse(data, state, neighbors, year, era_status)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.