calculate_MSSI: Function to calculate the Multiscale Straightness Index

Description Usage Arguments Value References

Description

Takes a dataframe with the X and Y coordinates of a trajectory and calculates the MSSI for different window sizes and granulosities.

Usage

1
2
calculate_MSSI(data, uniqueID = "traj", time = "frame", window_size,
  granulosity)

Arguments

data

A dataframe containing the X and Y coordinates

uniqueID

The unique identifier for each trajectory in the dataframe

time

The column containing the information on the time for each fix

window_size

A numeric value or vector specifying the window sizes over which the MSSI should be calculated

granulosity

A numeric value or vector specifying the temporal resolution of the data before the MSSI is calculated

Value

A dataframe containing the MSSI for each fix in addition to the input data

References

C.M. Postlethwaite, P. Brown, und T.E. Dennis: A New Multi-Scale Measure for Analysing Animal Movement Data. Journal of Theoretical Biology 317 (2013): 175-185. doi:10.1016/j.jtbi.2012.10.007.


pennekampster/MSSI documentation built on May 25, 2019, 12:46 a.m.