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


[Package sapo version 0.8.0 Index]