redist.multisplits: Counts the Number of Counties Split Between 3 or More...

View source: R/deprecations.R

redist.multisplitsR Documentation

Counts the Number of Counties Split Between 3 or More Districts

Description

Counts the total number of counties that are split across more than 2 districts.

Usage

redist.multisplits(plans, counties)

Arguments

plans

A numeric vector (if only one map) or matrix with one row for each precinct and one column for each map. Required.

counties

A vector of county names or county ids.

Value

integer matrix where each district is a

Examples

data(iowa)
ia <- redist_map(iowa, existing_plan = cd_2010, total_pop = pop, pop_tol = 0.01)
plans <- redist_smc(ia, 50, silent = TRUE)
#old redist.multisplits(plans, ia$region)
splits_multi(plans, ia, region)

kosukeimai/redist documentation built on March 28, 2024, 7:36 a.m.