mutate_nearest_feature: mutate_nearest_feature

Description Usage Arguments Value

View source: R/mutate_nearest_feature.R

Description

convenience wrapper for st_nearest_feature & st_distance

Usage

1

Arguments

x

sf object to measure by element closest distance to all y features

y

sf object to query against each row feature in x

Value

x with the distance to the closest feature from y (distance) and its index (y_index) mutated as two columns of the data set


zackarno/butteR documentation built on May 8, 2021, 4:50 p.m.