hard {epca}R Documentation

Hard-thresholding

Description

Perform hard-thresholding given the cut-off value.

Usage

hard(x, t)

Arguments

x

any numerical matrix or vector.

t

numeric, the amount to hard-threshold, i.e., sgn(x_{ij}) (|x_{ij}-t|)_+.


[Package epca version 1.1.0 Index]