TrajDuration {trajr} | R Documentation |
Calculates the temporal duration of a trajectory (or a portion of a trajectory).
TrajDuration(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.