splits_total {redistmetrics} | R Documentation |
Count the Total Splits in Each Plan
Description
Counts the total number of administrative splits.
Usage
splits_total(plans, shp, admin)
Arguments
plans |
A |
shp |
A |
admin |
Unqouted name of column in |
Value
numeric matrix
Examples
data(nh)
data(nh_m)
# For a single plan:
splits_total(plans = nh$r_2020, shp = nh, admin = county)
# Or many plans:
splits_total(plans = nh_m[, 3:5], shp = nh, admin = county)
[Package redistmetrics version 1.0.7 Index]