angular_speed: Calculate angular speed along a path

View source: R/prepare_covariates.R

angular_speedR Documentation

Calculate angular speed along a path

Description

angular_speed calculate turning angle between locations, taking a dataframe as input.

Usage

angular_speed(x, coord.names = c("x", "y"))

Arguments

x

data.frame with locations

coord.names

names of coordinates column in x

Value

vector of turning angle.

Author(s)

Remi Patin, Simon Benhamou.


rpatin/segtools documentation built on Sept. 12, 2022, 5:09 p.m.