/TurningAngles_BetweenLocations

calculates turning angles between locations

Primary LanguageR

Turning Angle Between Locations

MoveApps

Github repository: https://github.com/movestore/TurningAngles_BetweenLocations

Description

Calculation of the turning angle between consecutive locations.

Documentation

This App calculates the turning angle between consecutive locations. Three locations are necessary for the calculation of each turning angle. Therefore the turning angle of the first and the last location of the track will be set to NA.

The turning angles are calculated as angles in degrees from -180 to 180.

A column named turnAngle will be appended to the dataset that is returned for further use in next Apps.

A histogram of the turning angle distribution of all individuals and per individual is automatically created and can be downloaded in the output as a pdf.

Input data

moveStack in Movebank format

Output data

moveStack in Movebank format

Artefacts

turnAngle_histogram.pdf: PDF with histograms of the turning angles per individual

Parameters

no parameters

Null or error handling

Data: The full input dataset with the addition of turning angles is returned for further use in a next App and cannot be empty.