atl_turning_angle: Get the turning angle between points.

Description Usage Arguments Value

View source: R/fun_get_angle.R

Description

Get the turning angle between points.

Usage

1
atl_turning_angle(data, x = "x", y = "y", time = "time")

Arguments

data

A dataframe or similar which must have the columns specified by x, y, and time.

x

The x coordinate.

y

The y coordinate.

time

The timestamp in seconds since the UNIX epoch.

Value

A vector of turning angles in degrees. Negative degrees indicate 'left' turns. There are two fewer angles than the number of rows in the dataframe.


Orrslab/Pratik_atlastools documentation built on Dec. 31, 2020, 3:23 p.m.