Description Usage Arguments Value
View source: R/create_distance_matrix.R
Calculate the distance of each unit to every other unit.
1 | create_distance_matrix(latitudes, longitudes, ...)
|
latitudes |
A vector of latitudes of length N |
longitudes |
A vector of longitudes of length N |
... |
Takes distances arguments. Set km, meters, miles or feet to true in order to change the measure of distance that is output by the function. |
An N x N distance matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.