rcpp_parallel_nearest_facility | R Documentation |
Find closest unit from group y and measure distance
rcpp_parallel_nearest_facility(x, y)
x |
Matrix of coordinates. In the same format as st_coordinates output (X, Y) |
y |
Matrix of coordinates. In the same format as st_coordinates output (X, Y) |
Matrix. 2 columns. First column is index of closest unit in y. Second column is distance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.