| threshld {EbayesThresh} | R Documentation |
Given a data value or a vector of data, threshold the data at a specified value, using hard or soft thresholding
threshld(x, t, hard = TRUE)
x |
a data value or a vector of data |
t |
value of threshold to be used |
hard |
specifies whether hard or soft thresholding is applied |
A value or vector of values the same length as x, containing the result of the relevant thresholding rule applied to x.
Bernard Silverman
See ebayesthresh and http://www.bernardsilverman.com
threshld(-5:5, 1.4, FALSE)