R/nearest.R
ps_nearest_feature.Rd
Each row in object x is bound with the closest feature in object y. Uses sf::st_nearest_feature.
ps_nearest_feature(x, y, dist_col = NULL, ...)
An sf object.
A string indicating the name of the column to save the distance in.
Not used
sf objects have their sf (active geometry) column renamed to geometry.