scoreJ: Representation score J

Description Usage Arguments Details Value Author(s)

View source: R/scoreJ.R

Description

Calculates the (potential) representation score J.

Usage

1
scoreJ(Z,R)

Arguments

Z

Population vector

R

Vector for the representatives

Details

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

Value

Representation score

Author(s)

Didier Ruedin


polrep documentation built on Feb. 24, 2018, 3:01 a.m.