R/distance-between.R
dist_along_path_angle.Rd
Calculates the distance and angle between each point of a path
dist_along_path_angle(data_df)
data_df | (n x 2) data.frame, each row is a pair of values (x,y), assumes rows are ordered in path |
---|
vector of distances beween points (n - 1)
vector of angle change between points (n - 1) - in radians