TrajMeanVelocity | R Documentation |
Calculates the mean or net velocity of a trajectory (or a portion of a trajectory). This is the velocity from the start point to the end point, ignoring the path that was taken.
TrajMeanVelocity(trj, startIndex = 1, endIndex = nrow(trj))
trj |
Trajectory whose duration is to be calculated. |
startIndex |
Index of the starting point. |
endIndex |
Index of the ending point. |
Numeric duration of the trajectory, in time units.
TrajGetTimeUnits
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.