scoreD: Representation score D

View source: R/scoreD.R

scoreDR Documentation

Representation score D

Description

Calculates the (potential) representation score D.

Usage

scoreD(Z,R)

Arguments

Z

Population vector

R

Vector for the representatives

Details

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

Value

Representation score

Author(s)

Didier Ruedin


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