scoreG: Representation score G

View source: R/scoreG.R

scoreGR Documentation

Representation score G

Description

Calculates the (potential) representation score G.

Usage

scoreG(Z,R)

Arguments

Z

Population vector

R

Vector for the representatives

Details

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

Value

Representation score

Author(s)

Didier Ruedin


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