seg_dissim {redistmetrics} | R Documentation |
Compute Dissimilarity Index
Description
Compute Dissimilarity Index
Usage
seg_dissim(plans, shp, group_pop, total_pop)
Arguments
plans |
A |
shp |
A |
group_pop |
Unqouted name of column in |
total_pop |
Unqouted name of column in |
Value
A numeric vector. Can be shaped into a district-by-plan matrix.
References
Douglas Massey and Nancy Denton. 1987. The Dimensions of Social Segregation. Social Forces.
Examples
data(nh)
data(nh_m)
# For a single plan:
seg_dissim(plans = nh$r_2020, shp = nh, group_pop = vap_hisp, total_pop = vap)
# Or many plans:
seg_dissim(plans = nh_m[, 3:5], shp = nh, group_pop = vap_hisp, total_pop = vap)
[Package redistmetrics version 1.0.7 Index]