nearest_neighbour_distance | R Documentation |
For two sets of postions, find closest distance to a pos in second set for each in first with 'geo::dist_mat'.
nearest_neighbour_distance(lat, lon, lat1 = NULL, lon1 = NULL)
lat |
lon, lat1, lon1 Positions according to the 'geo' paradigm. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.