lsq | R Documentation |
'lsq()' calculates the electoral disproportionality between votes and seats by Least squares index method as proposed by Michael Gallagher.
lsq(x, y)
x |
( |
y |
( |
If the input is a proportion the result is between 0 and 1. But if the input is a percentage it is between 0 and 100. In both cases the higher the value, the more disproportional the electoral system is.
Gallagher, M. (1991). Proportionality, disproportionality and electoral systems. Electoral studies, 10(1), 33-51.
votes <- c(0.2, 0.2, 0.6)
seats <- c(0.18, 0.17, 0.65)
lsq(votes, seats)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.