which_index: find the index of a 'tidy_dist_mat' relative to a data.frame

Description Usage Arguments Value

View source: R/tidy-dist-mat.R

Description

probably more of an internal function...

Usage

1
2
3
4
5
6
7
8
9
which_index(x, index, margin = 1)

## S3 method for class 'tidy_dist_mat'
which_index(x, index, margin = 1)

which_not_index(x, index, margin = 1)

## S3 method for class 'tidy_dist_mat'
which_not_index(x, index, margin = 1)

Arguments

x

tidy_dist_mat object

index

data.frame index associated with x's colnames or rownames (related to margin). If which_not_index then this is which associated information *not* to include.

margin

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

Value

index values associated with rows or columns of x


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