Description Usage Arguments Value Examples
View source: R/distance-between.R
Coverts list of point locations to a set of equally spaced points through linear interpolation.
| 1 | equa_dist_points_angle(df, num_splits = 13)
 | 
| df | 2 column data frame with all points (x,y) | 
| num_splits | integer number of points for the path to be represented in | 
new_compression data.frame (num_splits x 2) of points along the path equally spaced
| 1 2 3 4 5 | library(dplyr)
my_df <- data.frame(x = 1:20) %>%
  mutate(y = x)
my_df_compression <- equa_dist_points_angle(my_df)
my_df_compression
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.