Calculates the distance matrix between a set of paths (Euclidean based). This is actually d^2

dist_matrix_innersq_direction(
  x,
  position = NULL,
  verbose = FALSE,
  tdm_out = FALSE
)

# S3 method for list
dist_matrix_innersq_direction(
  x,
  position = NULL,
  verbose = FALSE,
  tdm_out = FALSE
)

# S3 method for data.frame
dist_matrix_innersq_direction(
  x,
  position = NULL,
  verbose = FALSE,
  tdm_out = FALSE
)

# S3 method for grouped_df
dist_matrix_innersq_direction(
  x,
  position = NULL,
  verbose = FALSE,
  tdm_out = FALSE
)

Arguments

x

list of paths (data frames) - need to have the same num rows or a nested_df

position

column index of (x,y,...) euclidean coords.

verbose

boolean logic if should have print outs while computing distance matrix

tdm_out

boolean logic if we should return a tidy_dist_mat object or just a matrix.

Value

distance matrix of dimension n x n or data.frame - DESCRIBE