diffScore: Difference between proportion of minorities in populaiton and...

Description Usage Arguments Details Value Author(s)

Description

Calculates the difference between the proportion of minorities in populaiton and the proportion of minorities among the representatives.

Usage

1
diffScore(Z,R)

Arguments

Z

Population vector

R

Vector for the representatives

Details

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

Difference in proportions

Author(s)

Didier Ruedin



Search within the polrep package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.