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_direction(df, num_splits = 13)
|
df |
column data frame with all points (each row a point) |
num_splits |
integer number of points for the path to be represented in |
new_compression data.frame (num_splits x d) 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_direction(my_df)
my_df_compression
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.