Convert correlation matrix to specification used by cor_from_upper
Source: R/utilities.R
cor_to_upper.Rd
Convert correlation matrix to specification used by
cor_from_upper
Arguments
- m
Symmetric correlation matrix.
- remove_below
Threshold for absolute correlation values below which they are removed from the returned matrix. If NULL then no filtering is applied.
Value
Matrix with 3 columns (variable_1, variable_2, correlation), where correlation gives the entry at position (variable_1, variable_2) of the input correlation matrix. Note that variable_1 < variable_2 holds for all entries.