powered by
Perform soft-thresholding given the cut-off value.
soft(x, t)
any numerical matrix or vector.
matrix
vector
numeric, the amount to soft-threshold, i.e., \(sgn(x_{ij}) (|x_{ij}-t|)_+\).
numeric