Snaps points to points

snap_points_to_points(points_a, points_b)

Arguments

points_a

a SpatialPoints object

points_b

a SpatialPoints object

Value

numeric, the indices in points_b that are the closest to each points_a