RoseInv: Calculates the Inverted Rose Index of Proportionality

View source: R/RoseInv.R

RoseInvR Documentation

Calculates the Inverted Rose Index of Proportionality

Description

Calculates the inverted Rose Index of proportionality based on a population vector and a vector for the representatives

Usage

RoseInv(Z,R)

Arguments

Z

Population vector

R

Vector for the representatives

Details

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 Rose index is 1 minus the Rose index. This corresponds to the LHI (Loosemore-Hanby Index).

Value

A single score given the population and representatives

Author(s)

Didier Ruedin

See Also

Rose, LHI, Gallagher


polrep documentation built on Jan. 5, 2024, 3:01 a.m.