thresh {tilting} | R Documentation |
For a given matrix and a threshold, the function performs element-wise hard-thresholding based on the absolute value of each element.
thresh(C, alph, eps = 1e-10)
C |
a matrix on which the hard-thresholding is performed. |
alph |
threshold. |
eps |
effective zero. |
Returns the matrix C after hard-thresholding.
Haeran Cho