# Redistricting Metrics

## Documentation for package ‘redistmetrics’ version 1.0.9

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

by_plan | Shorten District by Plan vector
compet_talisman | Compute Talismanic Redistricting Competitiveness Metric
comp_bc | Calculate Boyce Clark Ratio
comp_box_reock | Calculate Box Reock Compactness
comp_ch | Calculate Convex Hull Compactness
comp_edges_rem | Calculate Edges Removed Compactness
comp_fh | Calculate Fryer Holden Compactness
comp_frac_kept | Calculate Fraction Kept Compactness
comp_log_st | Calculate Log Spanning Tree Compactness
comp_lw | Calculate Length Width Compactness
comp_polsby | Calculate Polsby Popper Compactness
comp_reock | Calculate Reock Compactness
comp_schwartz | Calculate Schwartzberg Compactness
comp_skew | Calculate Skew Compactness
comp_x_sym | Calculate X Symmetry Compactness
comp_y_sym | Calculate Y Symmetry Compactness
dist_euc | Calculate Euclidean Distances
dist_ham | Calculate Hamming Distances
dist_info | Calculate Variation of Information Distances
dist_man | Calculate Manhattan Distances
inc_pairs | Count Incumbent Pairings
list_fn | Return Functions Matching a Prefix
nh | New Hampshire Election and Demographic Data
nh_m | Redistricting Plans for New Hampshire as 'matrix'
nh_map | New Hampshire Election and Demographic Data as a 'redist_map'
nh_plans | Redistricting Plans for New Hampshire as 'redist_plans'
part_bias | Calculate Partisan Bias
part_decl | Calculate Declination
part_decl_simple | Calculate Simplified Declination
part_dil_asym | Calculate Dilution Asymmetry
part_dseats | Calculate Democratic Seats
part_dvs | Calculate Democratic Vote Share
part_egap | Calculate Efficiency Gap
part_egap_ep | Calculate Efficiency Gap (Equal Population Assumption)
part_lop_wins | Calculate Lopsided Wins
part_mean_median | Calculate Mean Median Score
part_resp | Calculate Responsiveness
part_rmd | Calculate Ranked Marginal Deviation
part_sscd | Calculate Smoothed Seat Count Deviation
part_tau_gap | Calculate Tau Gap
prep_perims | Prep Polsby Popper Perimeter Tibble
seg_dissim | Compute Dissimilarity Index
splits_admin | Compute Number of Administrative Units Split
splits_count | Count the Number of Splits in Each Administrative Unit
splits_district_fuzzy | Fuzzy Splits by District (Experimental)
splits_multi | Compute Number of Administrative Units Split More than Once
splits_sub_admin | Compute Number of Sub-Administrative Units Split
splits_sub_count | Count the Number of Splits in Each Sub-Administrative Unit
splits_total | Count the Total Splits in Each Plan
tally | Tally a Column by District