binrep: Determine binary representation

Description Usage Arguments Details Value Author(s)

View source: R/binrep.R

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


polrep documentation built on May 21, 2017, 3:32 a.m.

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