R/distance-between.R
distanglepath_df.Rd
Calculates the distance and direction between each point of a path
distanglepath_df(df)
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)