iadist {sapo}R 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


[Package sapo version 0.8.0 Index]