Plots the shape of the add_constr_grp_pow()
penalty.
redist.plot.penalty(
tgt_min = 0.55,
tgt_other = 0.25,
strength_vra = 2500,
pow_vra = 1.5,
limits = TRUE
)
ggplot
double, defaults to 0.55. The minority target percent.
double, defaults to 0.25. The other group target percent.
double, strength of the VRA constraint.
double, exponent of the VRA constraint.
Whether to limit y axis to 0,500. Default is TRUE for comparability across values.
This function allows you to plot the un-exponentiated penalty implemented as
add_constr_grp_pow()
. The function takes two key inputs,
tgt_min
and tgt_other
which center the minimum penalty spots. A higher y-value
indicates a higher penalty and incentivizes moving towards a spot with a lower y-value.
The x-axis indicates the group population proportion in a given district.