matrix_cor_ts {heterocop} | R Documentation |
This function enables the user to threshold matrix coefficients
matrix_cor_ts(R, TS, binary = TRUE)
R |
a correlation matrix |
TS |
a threshold |
binary |
a boolean specifying whether the coefficients should be binarized, TRUE by defaut (zero if the coefficient is less than the threshold in absolute value, 1 otherwise) |
the thresholded input matrix
M <- diag_block_matrix(c(3,4,5),c(0.7,0.8,0.2))
matrix_cor_ts(M,0.5)