TrajLength | R Documentation |
Calculates the cumulative length of a trajectory (or a portion of a trajectory), which is the total distance travelled along the trajectory.
TrajLength(trj, startIndex = 1, endIndex = nrow(trj))
trj |
Trajectory whose length is to be calculated. |
startIndex |
Index of the starting point. |
endIndex |
Index of the ending point. |
Numeric length of the trajectory.
TrajStepLengths
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.