relrepMax: Calculates maximum relative representation scores of any...

View source: R/relrepMax.R

relrepMaxR Documentation

Calculates maximum relative representation scores of any minority group

Description

Calculates relative representation scores for each group, based on a population vector and a vector for the representatives. Reports the largest relative representation score for any individual group, except for the first group in the vector.

Usage

relrepMax(Z,R)

Arguments

Z

Population vector

R

Vector for the representatives

Details

Relative representation scores (relrep) are calculated for each minority group. The majority group must be in first position of the vector. All groups in positions 2 to n are considered minority groups; no test is applied to check whether the groups are numerical minorities.

Value

Representation score

Author(s)

Didier Ruedin

See Also

relrep, dHondt


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