Learn R Programming

trajr (version 1.5.1)

Traj3DStepLengths: 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))

Value

Vector of step lengths. The vector will have length 1 - TrajGetNCoords(trj3d).

Arguments

trj3d

Trajectory to query.

startIndex

Index of the starting point.

endIndex

Index of the ending point.

See Also

Traj3DFromCoords, Traj3DLength, TrajStepLengths