Calculates an inverted Lijphart index of proportionality based on a population vector and a vector for the representatives

1 | ```
LijphartInv(Z,R)
``` |

`Z` |
Population vector |

`R` |
Vector for the representatives |

The order of the groups in he population vector and the vector for the representatives needs to be the same. If there are groups A, B, C in the population, both vectors need to cover their proportion in the same order.

The inverted Lijphart index gives 1 minus the largest of the absolute differences between the proportion of the population and representatives in each group.

A single score given the population and representatives

Didier Ruedin

Taagepera, R., and B. Grofman. Mapping the indices of seats-votes disproportionality and inter-election volatility. Party Politics 9, no. 6 (2003): 659-77.

`Grofman`

, `Rose`

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.