Compute Number of Sub-Administrative Units Split
splits_sub_admin(plans, shp, sub_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 subsidiary administrative units.
A numeric vector. Can be shaped into a district-by-plan matrix.