| track_add_distance | R Documentation | 
Append the distance between points along a one or more tracks in a data frame
track_add_distance(
  x,
  by_element = TRUE,
  as_vector = TRUE,
  cumulative = TRUE,
  ...
)
| x | sf POINT object, with a  | 
| by_element | logical, defaults to TRUE, see  | 
| as_vector | logical, to return a numeric vector otherwise an  | 
| cumulative | logical, if TRUE retrieve the cumulative distance.  Ignored
if  | 
| ... | other arguments for  | 
the input sf POINT object with added path_distance variable (column)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.