DistMat | R Documentation |
Create Distance Matrix
DistMat(M, cutoff, kernel = "bartlett", dist_fn = "Haversine")
M |
a matrix of locations |
cutoff |
the distance for cutoff |
kernel |
(string) kernel function (default is bartlett-triangular) |
dist_fn |
(string) distance function (Haversine) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.