TrajSinuosity2 {trajr} | R Documentation |
Sinuosity of a trajectory
Description
Calculates the sinuosity of a trajectory as defined by Benhamou (2004), equation 8. This is a corrected version of the sinuosity index defined in Bovet & Benhamou (1988), which is suitable for a wider range of turning angle distributions, and does not require a constant step length.
Usage
TrajSinuosity2(trj, compass.direction = NULL)
Arguments
trj |
A Trajectory object. |
compass.direction |
if not |
Details
This function implements the formula
where is the mean step length,
is the mean
cosine of turning angles, and
is the coefficient of variation of
the step length.
References
Benhamou, S. (2004). How to reliably estimate the tortuosity of an animal's path. Journal of Theoretical Biology, 229(2), 209-220. doi:10.1016/j.jtbi.2004.03.016
See Also
TrajSinuosity
for the uncorrected sinuosity index.