redist.county.id {redist}R Documentation

Create County IDs

Description

Create County IDs

Usage

redist.county.id(counties)

Arguments

counties

vector of counties, required.

Value

A vector with an ID that corresponds from 1:n counties

Examples

set.seed(2)
counties <- sample(c(rep("a", 20), rep("b", 5)))
redist.county.id(counties)


[Package redist version 4.2.0 Index]