soft_threshold: Soft-thresholding operator.

Description Usage Arguments

View source: R/sparse-W.R

Description

The soft-thresholding operator S_\lambda(x) = sign(x)(abs(x) - \lambda)_+

Usage

1
soft_threshold(x, threshold)

Arguments

x

the vector/matrix of values to be soft thresholded

threshold

the threshold lambda


JimSkinner/stpca documentation built on May 28, 2019, 12:44 p.m.