R/distance-between.R
dist_along_path_direction.RdCalculates the distance and direction between each point of a path
dist_along_path_direction(data_df)
| data_df | (n x d) data.frame, assumes rows are ordered in path |
|---|
vector of distances beween points (n - 1)
data.frame of direction between points ((n - 1) x d)