Build multimodal trips from trajectories.
palms_build_multimodal(data, spatial_threshold, temporal_threshold, verbose = TRUE)
data | The trajectories object built with |
---|---|
spatial_threshold | Spatial threshold in meters |
temporal_threshold | Temporal threshold in minutes |
verbose | Print progress after each step. Default is |
The input trajectories LINESTRING geometry, collapsed into multimodal trips
Several columns are required in the trajectories
dataset. These
need to be added as trajectory fields:
identifier
tripnumber
mot
start
end
geometry
#multimodal <- palms_calc_multimodal(trajectories, 200, 10)