# Better Automated ReDistricting

## Documentation for package ‘BARD’ version 1.11

## User Guides and Package Vignettes

Read overview or browse directory.

## Help Pages

BARD-package | A package for better automated redistricting.
BARD | A package for better automated redistricting.
basem | manipulate plan basemaps
basem.default | manipulate plan basemaps
basem<- | manipulate plan basemaps
basem<-.default | manipulate plan basemaps
calcContiguityScore | Scoring functions for redistricting.
calcGroupScore | Scoring functions for redistricting.
calcHolesScore | Scoring functions for redistricting.
calcLWCompactScore | Scoring functions for redistricting.
calcMomentScore | Scoring functions for redistricting.
calcPACompactScore | Scoring functions for redistricting.
calcPopScore | Scoring functions for redistricting.
calcRangeScore | Scoring functions for redistricting.
calcReockScore | Scoring functions for redistricting.
calcSpatialHolesScore | Scoring functions for redistricting.
calcUnassignedScore | Scoring functions for redistricting.
choroplotPlan | Create a choropleth (shaded thematic map) plot for a redistricting plan
combineDynamicScores | Convenience function for combining score functions.
createAssignedPlan | Create an initial plan for later refinement
createContiguousDistrict | Create an initial plan for later refinement
createContiguousPlan | Create an initial plan for later refinement
createGreedyContiguousPlan | Create an initial plan for later refinement
createKmeansPlan | Create an initial plan for later refinement
createPlanInteractive | Create and edit plans interactively, with a GUI
createRandomPlan | Create an initial plan for later refinement
createRandomPopPlan | Create an initial plan for later refinement
createWeightedKmeansPlan | Create an initial plan for later refinement
diff.bardPlan | Methods for comparing plans
editPlanInteractive | Create and edit plans interactively, with a GUI
exportBardShape | Import and export bard plans and basemaps as shapefiles
fillHolesPlan | Fixes up districting plan.
fixContiguityPlan | Fixes up districting plan.
fixUnassignedPlan | Fixes up districting plan.
importBardShape | Import and export bard plans and basemaps as shapefiles
miniball | compute minimum/bounding ball/circle
n.comp.include | Neighborhood list helper functions
nb2graph | Neighborhood list helper functions
neighbors | Neighborhood list helper functions
neighbors.nb | Neighborhood list helper functions
profilePlans | Profile or pseudo-sample redistricting plans based on score criteria.
quickSampleDistricts | Profile or pseudo-sample redistricting plans based on score criteria.
readBardCheckpoint | Write checkpoint of BARD state, read checkpoint and restart.
readBardImage | Read and write BARD basemaps and plans as R images.
refineAnnealPlan | Create an initial plan for later refinement
refineGenoudPlan | Create an initial plan for later refinement
refineGRASPPlan | Create an initial plan for later refinement
refineGreedyPlan | Create an initial plan for later refinement
refineNelderPlan | Create an initial plan for later refinement
refineTabuPlan | Create an initial plan for later refinement
reportPlans | evaluate a set of plans
samplePlans | Profile or pseudo-sample redistricting plans based on score criteria.
scorePlans | Methods for comparing plans
startBardCluster | Use bard with snow distributed computing clusters.
stopBardCluster | Use bard with snow distributed computing clusters.
suffolk.map | suffolk map
writeBardCheckpoint | Write checkpoint of BARD state, read checkpoint and restart.
writeBardImage | Read and write BARD basemaps and plans as R images.