Description Usage Arguments Value Examples
View source: R/Electoral_index.R
Cox_Shugart's (1991) disproportionality index measures the disproportion in the distribution of seats by means of a regression line between the percentage of seats and the percentage of votes. If the distribution were approximately proportional, the slope of the regression line would be one. If it moves away from that value there will be disproportionality in the distribution of seats.
1 | Cox_Shugart(votes, seats)
|
votes |
It is a vector of integers, containing the votes of all the candidates. |
seats |
It is a vector of integers, containing the seats obtained by each of the candidates. |
Returns the value obtained for the index
1 | Cox_Shugart(c(3947,3189,1971,466,345,82),c(184,99,44,10,0,0))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.