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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.