GallagherInv {polrep}R Documentation

1 minus Gallagher index

Description

Calculates 1 minus the Gallagher index.

Usage

GallagherInv(Z,R)

Arguments

Z

Population vector

R

Vector for the representatives

Details

The representation score is calculated as: 1 - (sqrt(sum((Z-R)^2)/2)).

Value

Representation score

Author(s)

Didier Ruedin

See Also

Gallagher


[Package polrep version 0.32.4 Index]