powered by
This function calculates the 2-D distances between pairs of points in a data frame.
calc_2d_dist( trimesh_data, select_vars = c("from", "to", "x_from", "y_from", "x_to", "y_to", "from_count", "to_count", "distance") )
A tibble with columns for the starting point, ending point, and calculated distances.
A tibble that contains the x and y coordinates of start and end points.
selected columns in the resulting data frame.
tr_from_to_df <- scurve_model_obj$trimesh_data calc_2d_dist(trimesh_data = tr_from_to_df)
Run the code above in your browser using DataLab