Description Usage Arguments Value
View source: R/mutate_nearest_feature.R
convenience wrapper for st_nearest_feature & st_distance
1 | mutate_nearest_feature(x, y)
|
x |
sf object to measure by element closest distance to all y features |
y |
sf object to query against each row feature in x |
x with the distance to the closest feature from y (distance) and its index (y_index) mutated as two columns of the data set
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.