Compute Number of Administrative Units Split
splits_admin(plans, shp, admin)
A redist_plans
object or plans_matrix where each row indicates a district assignment and each column is a plan.
A redist_map
object, tibble, or data frame containing other columns.
Unqouted name of column in shp
with numeric identifiers for administrative units.
A numeric vector. Can be shaped into a district-by-plan matrix.