Extract a part of a tidy_dist_mat object

# S3 method for tidy_dist_mat
[(x, i, j = i)

Arguments

x

tidy_dist_mat object

i

indices specifying elements to extract or replace. Indices are numeric or data frames related to x's row information.

j

indices specifying elements to extract or replace. Indices are numeric or data frames related to x's column information. If no j is provided, then j=i and a square matrix is returned (if x's structure follows correct assumptions).

Value

a new tidy_dist_mat object