scoreA: Representation score A

View source: R/scoreA.R

scoreAR Documentation

Representation score A

Description

Calculates the (potential) representation score A.

Usage

scoreA(Z,R)

Arguments

Z

Population vector

R

Vector for the representatives

Details

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

Value

Representation score

Author(s)

Didier Ruedin


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