thresh: Hard-threshold a matrix

Description Usage Arguments Value Author(s)

Description

For a given matrix and a threshold, the function performs element-wise hard-thresholding based on the absolute value of each element.

Usage

1
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



Search within the tilting package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.