critical_threshold: Identify critical threshold

View source: R/utils-kernels.R

critical_thresholdR Documentation

Identify critical threshold

Description

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))

sfdep documentation built on Sept. 13, 2024, 5:07 p.m.