Skip to contents

Within each existing .putative_cluster region (typically produced by slice_ctdf()), run sf_dtscan() on the points in that region to split it into one or more local spatial subclusters. The resulting labels are combined with the parent .putative_cluster id and written back to .putative_cluster in-place.

Usage

local_cluster_ctdf(ctdf, nmin = 3, area_z_min = 0, length_z_min = 0)

Arguments

ctdf

A ctdf object.

nmin

Integer; passed as min_pts to sf_dtscan() when clustering within each .putative_cluster region.

area_z_min

Numeric; passed to sf_dtscan() as area_z_min.

length_z_min

Numeric; passed to sf_dtscan() as length_z_min.

Value

The input ctdf, invisibly, with .putative_cluster updated in-place.

See also