iadist: ID aware distance matrix

View source: R/h-fun.R

iadistR Documentation

ID aware distance matrix

Description

Distance between polygons accounting for toroidal shift.

Usage

iadist(p1, p2, hausdorff = TRUE, method = "rnd_poly")

Arguments

p1

a sf object containing one column specifying the objects id.

p2

a sf object containing one column specifying the objects id.

hausdorff

logical scalar indicating whether the Hausdorff distance should be used.

method

method for "fixing" the distance matrix.

Value

a distance matrix.

Author(s)

Lucas Godoy


sapo documentation built on Oct. 31, 2024, 1:09 a.m.