Description Usage Arguments Value Examples
Calculates Gallagher's index of proportionality or "least squares" index.
1 | calc_lsq(prop_votes, prop_seats)
|
prop_votes |
A vector of party seats proportions. |
A vector of length 1 with the least-squares index.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.