Learn R Programming

redist (version 4.2.0)

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)

Value

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

Arguments

plan

A vector of precinct/unit assignments

counties

A vector of county names or county ids.