dist_euc {redistmetrics} | R Documentation |
Calculate Euclidean Distances
Description
Calculate Euclidean Distances
Usage
dist_euc(plans, ncores = 1)
Arguments
plans |
A |
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_euc(plans = nh$r_2020)
# Or many plans:
dist_euc(plans = nh_m[, 3:5])
[Package redistmetrics version 1.0.7 Index]