Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


redist (version 4.1.1)

pullback: Pull back plans to unmerged units

Description

Merging map units through merge_by or summarize changes the indexing of each unit. Use this function to take a set of redistricting plans from a redist algorithm and re-index them to be compatible with the original set of units.

Usage

pullback(plans, map = NULL)

Value

a new, re-indexed, redist_plans object

Arguments

plans

a redist_plans object

map

optionally, a redist_map object, which will be used to set the new population vector