sp_ID_dist: Distance Matrix - ID

View source: R/utils.R

sp_ID_distR Documentation

Distance Matrix - ID

Description

Calculate the distance between polygons (or points) from different types considering their ID's.

Usage

sp_ID_dist(obj_sp1, obj_sp2, m = NULL)

Arguments

obj_sp1

a SpatialPolygons or SpatialPointsDataFrame object

obj_sp2

a SpatialPolygons or SpatialPointsDataFrame object

m

a character equal to c('haus1', 'haus2'). If not supplied, euclidean distance is performed.

Value

a distance matrix


lcgodoy/past documentation built on Oct. 17, 2023, 3:25 p.m.