fix_dist: Fix distance matrix containing broken polygons

View source: R/h-fun.R

fix_distR Documentation

Fix distance matrix containing broken polygons

Description

fix a polygons' distance matrix based on a given method. This function assumes the polygon that has been broken is represented by the rows of the distance matrix.

Usage

fix_dist(x, method = "rnd_poly")

Arguments

x

distance matrix

method

method used to fix. The options are "min", "max", "mean", "rnd_poly", "rnd_dist", "min_norm", "max_norm", "hybrid", "hyb_center", "hybrid_nc", "old_min"

Value

a distance matrix


lcgodoy/tpsa documentation built on Oct. 12, 2024, 11:37 a.m.