thresh {tilting} | R Documentation |
Hard-threshold a matrix
Description
For a given matrix and a threshold, the function performs element-wise hard-thresholding based on the absolute value of each element.
Usage
thresh(C, alph, eps = 1e-10)
Arguments
C |
a matrix on which the hard-thresholding is performed. |
alph |
threshold. |
eps |
effective zero. |
Value
Returns the matrix C after hard-thresholding.
Author(s)
Haeran Cho
[Package tilting version 1.1.1 Index]