Learn R Programming

redist (version 3.0.7)

is_county_split: Identify which counties are split by a plan

Description

Identify which counties are split by a plan

Usage

is_county_split(plan, counties)

Arguments

plan

A vector of precinct/unit assignments

counties

A vector of county names or county ids.

Value

A logical vector which is TRUE for precincts belonging to counties which are split