matrixSubgroups: Get all values from the matrix corresponding to specific...

Description Usage Arguments See Also Examples

Description

Split all matrix values to groups and return them as a data frame with two columns: for values and for group names.

Usage

1
matrixSubgroups(.mat, .groups = NA, .symm = T, .diag = F)

Arguments

.mat

Input matrix with row and columns names.

.groups

Named list with character vectors for names of elements for each group.

.symm

If T than remove symmetrical values from the input matrix.

.diag

If .symm if T and .diag is F than remove diagonal values.

See Also

repOverlap, vis.group.boxplot

Examples

1
2
3
4
5
6
7
## Not run: 
data(twb)
ov <- repOverlap(twb)
sb <- matrixSubgroups(ov, list(tw1 = c('Subj.A', 'Subj.B'), tw2 = c('Subj.C', 'Subj.D')));
vis.group.boxplot(sb)

## End(Not run)

tcR documentation built on July 2, 2020, 3:18 a.m.