redist.sink.plan | R Documentation |
Takes a plan and renumbers it to be from 1:ndists
redist.sink.plan(plan)
plan |
vector of assignments, required. |
A vector with an ID that corresponds from 1:ndists, and attribute n
indicating the number of districts.
data(fl25_enum)
plan <- fl25_enum$plans[, 5118]
# Subset based on something:
plan <- plan[plan != 2]
plan <- vctrs::vec_group_id(plan)
# Now plan can be used with redist_flip()
plan
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.