TrajSinuosity | R Documentation |
Calculates the sinuosity of a (constant step length) trajectory as defined by
Bovet & Benhamou (1988), which is: S = 1.18\sigma / \sqrt q
where
\sigma
is the standard deviation of the step turning angles and q
is the mean step length. A corrected sinuosity index is available as the
function TrajSinuosity2
which handles a wider range of
variations in step angles.
TrajSinuosity(trj, compass.direction = NULL)
trj |
Trajectory to calculate sinuosity of. |
compass.direction |
if not |
If your trajectory does not have a constant step length, it should be
_rediscretized_ by calling TrajRediscretize
before calling this
function.
The sinuosity of trj
.
Bovet, P., & Benhamou, S. (1988). Spatial analysis of animals' movements using a correlated random walk model. Journal of Theoretical Biology, 131(4), 419-433. doi:10.1016/S0022-5193(88)80038-9
TrajAngles
for the turning angles in a trajectory,
TrajStepLengths
for the step lengths,
TrajSinuosity2
for a corrected version of sinuosity, and
TrajRediscretize
for resampling to a constant step length.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.