scoreM: Representation score M

View source: R/scoreM.R

scoreMR Documentation

Representation score M

Description

Calculates the (potential) representation score M.

Usage

scoreM(Z,R)

Arguments

Z

Population vector

R

Vector for the representatives

Details

The representation score is calculated as the proportion of minorities among the representatives; the population vector is discarded. All groups in the population except for the first one are considered minorities.

Value

Representation score

Author(s)

Didier Ruedin


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