powered by
Takes a plan and renumbers it to be from 1:ndists
redist.sink.plan(plan)
A vector with an ID that corresponds from 1:ndists
vector of assignments, required.
data(fl25_enum) plan <- fl25_enum$plans[, 5118] # Subset based on something: plan <- plan[plan != 2] plan <- redist.sink.plan(plan) # Now plan can be used with redist.flip() plan
Run the code above in your browser using DataLab