Create Constraints for SMC
redist.constraint.helper(
constraints = "vra",
tgt_min = 0.55,
group_pop,
total_pop,
ndists,
nmmd,
strength_vra = 2500,
pow_vra = 1.5
)
Vector of constraints to include. Currently only 'vra' implemented.
Defaults to 0.55. If 'vra' included, the minority percent to encourage in each district.
A vector of populations for some subgroup of interest.
A vector containing the populations of each geographic unit.
The total number of districts.
The number of majority minority districts to target for 'vra' constraint
The strength of the 'vra' constraint. Defaults to 2500.
The exponent for the 'vra' constraint. Defaults to 1.5.
list of lists for each constraint selected