Identify which counties are split by a plan

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