scoreG: Representation score G

Description Usage Arguments Details Value Author(s)

View source: R/scoreG.R

Description

Calculates the (potential) representation score G.

Usage

1
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 Oct. 9, 2017, 3:01 p.m.