Sainte_Lague {Relectoral}R Documentation

Sainte-Lague index of disproportionality (SL)

Description

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

Usage

Sainte_Lague(votes, seats)

Arguments

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.

Value

Returns the value obtained for the index

Examples


Sainte_Lague(c(3947,3189,1971,466,345,82),c(184,99,44,10,1,0))


[Package Relectoral version 0.1.0 Index]