dist_mat | R Documentation |
dist_mat
calculates pairwise distances between all points in the
data.
dist_mat(dat)
dat |
|
Distances are calculated using the function
distGeo
. Takes advantage of data.table
for a fast implementation. Adapted from a post on
StackOverflow.
Returns data.table
with distance matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.