Traj3DStepLengths {trajr} | R Documentation |
3D trajectory step lengths
Description
Returns the lengths of each step in a 3-dimensional trajectory (or part of a trajectory).
Usage
Traj3DStepLengths(trj3d, startIndex = 1, endIndex = nrow(trj3d))
Arguments
trj3d |
Trajectory to query. |
startIndex |
Index of the starting point. |
endIndex |
Index of the ending point. |
Value
Vector of step lengths. The vector will have length 1 - TrajGetNCoords(trj3d)
.
See Also
Traj3DFromCoords
, Traj3DLength
, TrajStepLengths
[Package trajr version 1.5.1 Index]