TrajSplit | R Documentation |
Every point in trj
will belong to exactly one of the returned
sections. Note that this function will happily create single point
trajectories.
TrajSplit(trj, idx)
trj |
The trajectory to be split |
idx |
Indices of splits. Each new section starts at one of these indices. |
A list containing one or more trajectories. The first trajectory in
the list contains the first points from trj
. Remaining trajectories
contain the points starting from each of the idx
values, in
ascending order.
TrajMerge
, TrajSplitAtFirstCrossing
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.