Description Usage Arguments Examples
Coomputes distance matrix
1 | DistMat(locations, method = "euclidean")
|
locations |
– [ID, X, Y] Node id and X, Y co-ordinates/ Long, Lat |
method |
– Metric to calculate distnace between nodes. Feasible methods for X-Y co-ordinates c("euclidean", "maximum", "manhattan", "canberra", "binary" or "minkowski"); Feasible methods for Long-Lat c(distCosine, distHaversine). Default: "euclidean". Note: Please make sure that, method should be a character only for X-Y co-ordinates not for Long-Lat |
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.