Description Usage Arguments Details Value Author(s) See Also

Calculates relative representation scores based on a population vector and a vector for the representatives.

1 | ```
relrep(Z,R,k=1)
``` |

`Z` |
Population vector |

`R` |
Vector for the representatives |

`k` |
Identify group for comparison |

Relative representation scores compare one group with all other groups combined. For instance, we can compare the majority group with all minority groups combined into one group. Relative representation scores calculate the proportion of the combined minorities in the representatives by the proportion of the combined minorities in the population. Unless specified, 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, but you can specify any other group with a value of k.

Representation score

Didier Ruedin

polrep documentation built on Feb. 24, 2018, 3:01 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.