distm_km
returns a distance matrix in km
A distance matrix is returned.
If coords2 = NULL
, then distances among points in coords
are
calculated. Otherwise, distances are calculated between points in coords
and coords2
distm_km
returns a distance matrix in km and distm_scaled
returns
relative distances (between 0 and 1). The resulting matrix has the attribute
"max.dist" which stores the maximum distance of the map. "max.dist" is in
km for distm_km
and in the units of distm_FUN
for distm_scaled
.