Sainte_Lague {Relectoral} | R Documentation |
This index is designed to study the disproportionality of those electoral systems that use the procedure of distribution of seats that has the same name (Sainte-Lague method). It should be noted that this indicator takes into account the relative difference between the seats-votes of each party, as well as that of the system as a whole. The formula used for its calculation is as follows:
SL=\sqrt{\sum\frac{(E_{i}-V_{i})^{2}}{V_{i}}}
for i = 1, 2, \ldots,n vi>0
Sainte_Lague(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
Sainte_Lague(c(3947,3189,1971,466,345,82),c(184,99,44,10,1,0))