Calculates the Gallagher index.
Vector for the representatives
The representation score is calculated as: sqrt(sum((Z-R)^2)/2).
Gallagher, M. (1991) Proportionality, disproportionality and electoral systems. Electoral Studies 10(1):33-51.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.