soft: Soft-thresholding

softR Documentation

Soft-thresholding

Description

Perform soft-thresholding given the cut-off value.

Usage

soft(x, t)

Arguments

x

any numerical matrix or vector.

t

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


epca documentation built on July 26, 2023, 5:47 p.m.