sub-.tidy_dist_mat: Extract a part of a 'tidy_dist_mat' object

Description Usage Arguments Value

Description

Extract a part of a tidy_dist_mat object

Usage

1
2
## S3 method for class '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


skgallagher/EpiCompare documentation built on Sept. 14, 2021, 5:45 a.m.