Learn R Programming

redist (version 3.0.7)

county_splits: Count County Splits

Description

Count County Splits

Usage

county_splits(map, counties, .data = cur_plans())

redist.splits(plans, counties, district_membership)

Arguments

map

a redist_map object

counties

A vector of county names or county ids.

.data

a redist_plans object

plans

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

district_membership

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

Value

integer vector with one number for each map