| distance_matrix_geographic | R Documentation |
Internal function that uses sf::st_distance() for accurate great circle distances on geographic (longlat) coordinate systems.
distance_matrix_geographic(x, y = NULL, use_centroids = NULL)
x |
An sf object |
y |
An sf object or NULL |
use_centroids |
Logical. If TRUE, use polygon centroids. |
A numeric matrix of distances in meters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.