R/distance-between.R
dist_matrix_innersq_2d.RdCalculates the distance matrix between a set of paths (Euclidean based). This is actually d^2 (2d)
dist_matrix_innersq_2d(path_list, position = NULL, verbose = FALSE) dist_matrix_innersq_angle(path_list, position = NULL, verbose = FALSE)
| path_list | list of paths (data frames) - need to have the same num rows |
|---|---|
| position | column index of (x,y) euclidean coords. |
| verbose | boolean logic if should have print outs while computing distance matrix |
distance matrix of dimension n x n
This is currently built on raster::pointDistance, which only works in the two dimensional setting.