Skip to contents

Main clustering function

High-level track clustering and post-processing.

cluster_track()
Cluster a movement track into spatiotemporal clusters
aggregate_ctdf()
Aggregate (merge) adjacent clusters by spatial proximity
summary(<ctdf>)
Summarise a ctdf by cluster

Core data format

Coercion and helpers around the ctdf format.

as_ctdf()
Coerce an object to clusterTrack data format
as_ctdf(<data.frame>)
Coerce an object to clusterTrack data format
as_ctdf_track()
Convert a ctdf track to movement step segments as LINESTRINGs

Pipeline steps

Lower-level steps used by cluster_track().

slice_ctdf()
Slice a CTDF into putative clusters using temporal continuity and spatial clustering
spatial_repair()
Repair spatially overlapping adjacent putative clusters
local_cluster_ctdf()
Local clustering using DTSCAN
temporal_repair()
Repair temporally overlapping putative clusters
tail_repair()
Repair putative clusters by trimming track tails

Spatial clustering backends

DTSCAN and time-aware DBSCAN.

sf_dtscan()
DTSCAN: Delaunay Triangulation-Based Spatial Clustering.
tdbscan()
tdbscan

Datasets

Example datasets shipped with the package.

lbdo66862
ARGOS satellite tracking data for an individual Long-billed dowitcher
mini_ruff
Reduced ARGOS satellite tracking data for an individual Ruff
pesa56511
ARGOS satellite tracking data for an individual Pectoral Sandpiper
ruff143789
ARGOS satellite tracking data for an individual Ruff
nola125a
GNSS tracking data for an individual northern lapwing.
ruff07b5
GNSS tracking data for an individual ruff.