1 minus Rae index

Description

Calculates 1 minus the Rae index.

Usage

1
RaeInv(Z,R)

Arguments

Z

Population vector

R

Vector for the representatives

Details

The representation score is calculated as: 1 minus (the sum of the absolute differences |Z-R| divided by the number of categories).

Value

Representation score

Author(s)

Didier Ruedin

See Also

Rae

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.