Skip to contents

Identifies the minimum distance in which each observation will have at least one neighbor.

Usage

critical_threshold(geometry, k = 1)

Arguments

geometry

an sf geometry column

k

the minimum number of neighbors to check for

Value

a numeric scalar value.

Examples

critical_threshold(sf::st_geometry(guerry))
#> [1] 94141.96