Determine binary representation

Share:

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.