RaeInv: 1 minus Rae index

Description Usage Arguments Details Value Author(s) See Also

View source: R/RaeInv.R

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


polrep documentation built on May 31, 2017, 4:24 a.m.

Search within the polrep package
Search all R packages, documentation and source code