binrep: Determine binary representation

Description Usage Arguments Details Value Author(s)

Description

Determine if binary representation of minority groups exists. Although the function requires a vector for the population vector and a vector for the representatives, only the representatives' is evaluated.

Usage

1
binrep(Z,R)

Arguments

Z

Population vector

R

Vector for the representatives

Details

This function is not concerned with proportions, and a single representative from any of possibly multiple minority groups is considered as "minorities present". 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

TRUE if minority groups are present among the representatives, FALSE if they are absent.

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.