matrixStrucTestSub: Compute Gamma and t-statistics for a single permutation

Description Usage Arguments Value

View source: R/hubert_t.R

Description

This sub-routine is called by matrixStrucTest and prepBoxPlots.

Usage

1
2
matrixStrucTestSub(A, group_list_ord, Delta, multi_group_ind, A_upper_ind,
  K)

Arguments

A

Distance or similarity matrix, e.g. correlation

group_list_ord

List of groupings for ordered matrix A

Delta

Delta matrix

multi_group_ind

List of indicator matrices for membership in block k test

A_upper_ind

indicator matrix for upper triangular elements

K

Total number of hypothesized blocks

Value

Gamma_overall: Overall Hubert's Gamma

Gamma_multi: Block-specific Hubert's Gamma

t_overall: Overall t-statistic (unequal variance)

t_multi: Block-specific t-statistics

Ak_list: List of values in A used for each block-specific test

Deltak_list: List of values in Delta used for each block-specific test

A_upper: Upper triangular elements of A (used for box plot function)

Delta_upper: Upper triangular elements of Delta (used for box plot function)


matrixStrucTest documentation built on July 18, 2019, 9:06 a.m.