Consider the upper triangular portion of a matrix of size nxn. Results from the
correlationTest are output
as the combination of two vectors, correlation statistic and p-values. The order of the output is 1vs2, 1vs3, 1vs4, etc.
The correctIndices returns the correct indices to fill a correlation matrix or correlation-pvalue matrix.
The number of features compared by correlationTest (nrow(mat)).
A vector of the indices for an upper triangular matrix.
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.