internal function to get the indices of the tidy_dist_mat related to a data frame.

process_df_index(x, index, margin = 1)

Arguments

x

tidy_dist_mat object

index

data.frame style index related to x

margin

scalar representing if index is related to rows or columns of x. 1 = row, 2 = column.

Value

index vector