scoreK: Representation score K

View source: R/scoreK.R

scoreKR Documentation

Representation score K

Description

Calculates the (potential) representation score K.

Usage

scoreK(Z,R)

Arguments

Z

Population vector

R

Vector for the representatives

Details

The representation score is calculated as: (1/number of groups) * sum((R/Z)^2).

Value

Representation score

Author(s)

Didier Ruedin


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