Description Usage Arguments Value
Create a matrix of distances between two areas
1 | distance_matrix_cpp(facility, user)
|
facility |
a matrix with longitude and latitude in the first two columns |
user |
a matrix with longitude and latitude in the first two columns |
a matrix of distances in metres between each user and facility, with nrow(user) rows and nrow(facility) columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.