splits_multi {redistmetrics} | R Documentation |
Compute Number of Administrative Units Split More than Once
Description
Compute Number of Administrative Units Split More than Once
Usage
splits_multi(plans, shp, admin)
Arguments
plans |
A |
shp |
A |
admin |
Unqouted name of column in |
Value
A numeric vector. Can be shaped into a district-by-plan matrix.
Examples
data(nh)
data(nh_m)
# For a single plan:
splits_multi(plans = nh$r_2020, shp = nh, admin = county)
# Or many plans:
splits_multi(plans = nh_m[, 3:5], shp = nh, admin = county)
[Package redistmetrics version 1.0.7 Index]