Description Usage Arguments Value
View source: R/func_get_angle.r
Get the turning angle between points.
1 | wat_turning_angle(data, x = "x", y = "y", time = "time")
|
data |
A dataframe or similar which must have the columns
specified by |
x |
The x coordinate. |
y |
The y coordinate. |
time |
The timestamp in seconds since the UNIX epoch. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.