GallagherInv | R Documentation |
Calculates 1 minus the Gallagher index.
GallagherInv(Z,R)
Z |
Population vector |
R |
Vector for the representatives |
The representation score is calculated as: 1 - (sqrt(sum((Z-R)^2)/2)).
Representation score
Didier Ruedin
Gallagher
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.