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

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

Remi Patin, Simon Benhamou.