Description Usage Arguments Value See Also Examples
Calculates turning angle between successive vectors of movement by resampling data to minimise jitter, returning a matrix containing both absolute and relative angles in degrees.
1 | rubitCalcTurning(m, resample = 1)
|
m |
a matrix containing processed tracking data outputted by |
resample |
the number of seconds over which to resample tracking data and calculate a new trajectory and turning angle from. |
A new matrix containing information on turning angles for the inputted area.
rubitMetrics
to understand the different steps of processing.
1 2 3 | data(tenebrio_basic)
### Apply the function over all areas in list
sapply(tenebrio_basic, rubitCalcTurning, resample = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.