Representation score E

Description

Calculates the (potential) representation score E.

Usage

1
scoreE(Z,R)

Arguments

Z

Population vector

R

Vector for the representatives

Details

The representation score is calculated as: sum((Z-R)/Z).

Value

Representation score

Author(s)

Didier Ruedin

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