Description Usage Arguments Value Author(s) Examples
Electoral volatility calculation: Pedersen (1979), Powell and Tucker (2014) and Torcal and Lago (2015).
1 2 3 4 5 6 7 8 |
tidy_data |
data.frame that contains the following variables with these names:
If the data is not structured in this way you can order it with: |
method |
Method to calculate electoral volatility:
|
threshold |
Minimum threshold for 'Type A' electoral volatility calculation (Powell and Tucker, 2014). By default is 2%. |
summary |
Summary of data by unit, by default it is |
digits |
integer indicating the number of decimal places to be used. |
scale |
By default it is |
if summary = FALSE,
return data.frame.
if summary = TRUE
, return a list with two data.frame.
list[[1]]
Indicator
list[[2]]
Summary by 'unit'
min
variable 'election'
max
variable 'election'
number of elections
mean
indicator
standard deviation
indicator
Nicolas Schmidt nschmidt@cienciassociales.edu.uy
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.