check_clusters: Check the temporal sequence constraint and return stop points

Description Usage Arguments

View source: R/dbscan-te.R

Description

Check the temporal sequence constraint and return stop points

Usage

1
check_clusters(trajectory, delta_t, minpts, entr_t)

Arguments

trajectory

A simple features collection of points representing a single trajectory (i.e. person, day). MUST have a 'dttm' column called "timestamp" representing the time of GPS point.

delta_t

time threshold (seconds): a gap of this length within a spatial cluster will split the cluster into two potential activities. An activity must also be at least this long.

minpts

minimum number of points in a cluster. DBSCAN input.

entr_t

entropy threshold: the entropy of a cluster is a function of the chaotic movement between points in a cluster. Clusters with higher entropy are more likely to be activities; this parameter will exclude potential activities below this threshold


byu-transpolab/gpsactivs documentation built on Dec. 19, 2021, 12:51 p.m.