stopMerger {stopdetection} | R Documentation |
Stop Merger
Description
Given the events data.table containing the spatiotemporally clustered stop/
move states, merges stops separated by less than thetaD
meters.
Modifies events by reference.
Usage
stopMerger(events, thetaD)
Arguments
events |
data.table of events from |
thetaD |
maximum distance for merging subsequent stops |
Value
modifies events data.table by reference, changing new_stop_id and new_state
[Package stopdetection version 0.1.2 Index]