HardThresh {waved} | R Documentation |
Apply hard threshold.
HardThresh(y, t)
y |
vector |
t |
threshold |
vector $y$ thresholded: entries below $t$ are replaced by zeros.
Marc Raimondo
Raimondo, M. and Stewart, M. (2007), "The WaveD Transform in R", Journal of Statistical Software.
HardThresh(1:5,2)