kc_st_distance: Pairwise distance of sf objects

View source: R/kc_st_distance.R

kc_st_distanceR Documentation

Pairwise distance of sf objects

Description

Create data frame containing pairwise distances of points in sf objects x and y.

Usage

kc_st_distance(x, y, idx, idy)

Arguments

x

an sf object

y

an sf object

idx

id variable for each row in x

idy

id variable for each row in y

Value

A data frame containing pairwise distances of each row in x and y


kennchua/kctools documentation built on Aug. 28, 2024, 8:37 a.m.