Description Usage Arguments Value
View source: R/distance-between.R
Calculates the distance and angle between each point of a path
1 | 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 |
distance |
vector of distances beween points (n - 1) |
angle |
vector of angle change between points (n - 1) - in radians |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.