Determine binary representation
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.
Vector for the representatives
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.
TRUE if minority groups are present among the representatives, FALSE if they are absent.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.