Learn R Programming

redist (version 3.0.7)

redist.find.target: Find Majority Minority Remainder

Description

Given a percent goal for majority minority districts, this computes the average value of minority in non-majority minority districts. This value is "tgt_other" in redist.mcmc and redist.smc.

Usage

redist.find.target(
  tgt_min,
  group_pop,
  grouppop,
  total_pop,
  fullpop,
  ndists,
  nmmd
)

Arguments

tgt_min

target group population for majority minority district

group_pop

A vector of populations for some subgroup of interest.

grouppop

Deprecated, use group_pop. A vector of populations for some subgroup of interest.

total_pop

A vector containing the populations of each geographic unit.

fullpop

Deprecated, use total_pop. A vector containing the populations of each geographic unit.

ndists

The number of congressional districts.

nmmd

The number of majority minority districts.

Value

numeric value to target