mp_rmps | R Documentation |
Computes the relative measure of party size as suggested by Giebler/Lacewell/Regel/Werner 2015.
mp_rmps(data, adapt_zeros = TRUE, ignore_na = TRUE, threshold_sum = 75)
data |
a numerical vector with vote shares |
adapt_zeros |
a boolean to switch on the conversion of zero values to 0.01 to avoid issues concerning division by zero |
ignore_na |
a boolean to switch on ignoring NA entries, otherwise having NA entries will lead to only NA values in the result |
threshold_sum |
the threshold of the sum of all vote shares for allowing the calculation |
Hint: In a dataset with multiple elections the usage of the function might require to calculate the measure per election (eg. using group_by)
a vector of rmps values
Giebler, Heiko, Onawa Promise Lacewell, Sven Regel and Annika Werner. 2015. Niedergang oder Wandel? Parteitypen und die Krise der repraesentativen Demokratie. In Steckt die Demokratie in der Krise?, ed. Wolfgang Merkel, 181-219. Wiesbaden: Springer VS.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.