Computes the deviation from population parity from a plan. Higher values indicate that (at least) a single district in the map deviates from population parity. See Details.
redist.parity(plans, total_pop)plan_parity(map, .data = pl(), ...)
numeric vector with the population parity for each column
A matrix with one row for each precinct and one column for each map. Required.
A numeric vector with the population for every precinct.
a redist_map
object
a redist_plans
object
passed on to redist.parity
With a map with pop
representing the populations of each district,
the deviation from population parity is given as max(abs(pop - parity) / parity)
where parity = sum(pop)/length(pop)
is the population size for the
average district.
Therefore, the metric can be thought of as the maximum percent deviation from
equal population. For example, a value of 0.03 in this metric indicates that
all districts are within 3 percent of population parity.