powered by
Counts the total number of counties that are split across more than 2 districts.
redist.multisplits(plans, counties)
integer matrix where each district is a
A numeric vector (if only one map) or matrix with one row for each precinct and one column for each map. Required.
A vector of county names or county ids.
data(iowa) ia <- redist_map(iowa, existing_plan = cd_2010, total_pop = pop, pop_tol = 0.01) plans <- redist_smc(ia, 50, silent = TRUE) splits <- redist.multisplits(plans, ia$region)
Run the code above in your browser using DataLab