dist_info {redistmetrics} | R Documentation |
Calculate Variation of Information Distances
Description
Calculate Variation of Information Distances
Usage
dist_info(plans, shp, total_pop, ncores = 1)
Arguments
plans |
A |
shp |
A |
total_pop |
Unqouted name of column in |
ncores |
Integer number of cores to use. Default is 1. |
Value
matrix of plan distances
Examples
data(nh)
data(nh_m)
# For a single plan (distance is trivial, 0):
dist_info(plans = nh$r_2020, shp = nh, total_pop = pop)
# Or many plans:
dist_info(plans = nh_m[, 3:5], shp = nh, total_pop = pop)
[Package redistmetrics version 1.0.7 Index]