Learn R Programming

waved (version 1.3)

SoftThresh: Soft Threshold

Description

Apply soft threshold.

Usage

SoftThresh(y, t)

Value

vector $y$ thresholded: entries below $t$ are replaced by shrunken versions.

Arguments

y

vector

t

threshold

Author

Marc Raimondo

References

Raimondo, M. and Stewart, M. (2007), "The WaveD Transform in R", Journal of Statistical Software.

See Also

WaveD

Examples

Run this code
SoftThresh(1:5,2)
  

Run the code above in your browser using DataLab