Description Usage Arguments Examples
This function take a point data frame of class 'sf' and return the heading angle between the consecutive points. In other words, the result is a list of the direction of travel for each point:
1 |
df |
data frame of class 'sf' |
1 2 3 4 5 6 7 | library(sf)
points <- read_sf("data/Points.gpkg")
calc_direction(points)
## Not run:
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.