L_max: Index of disproportionality of maximum deviation (Lmax)
Description
An indicator of disproportionality that is appropriate for those systems
that use the D'Hondt Law for seats distribution, as is the case in Spain
(except in the Senate elections), presents the disadvantage that it only takes into
account the difference between seats and votes for the most voted political force.
The formula used for its calculation is as follows:
$$Lmax=max[|V_i-E_i]$$
for \(i = 1, 2, \ldots,n \)
Usage
L_max(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.