Learn R Programming

rwavelet (version 0.4.1)

JSThresh: Apply James-Stein Threshold

Description

(also called the nonnegative garrote)

Usage

JSThresh(y, t)

Arguments

y

Noisy Data.

t

Threshold.

Value

x filtered result.

See Also

HardThresh, SoftThresh

Examples

Run this code
# NOT RUN {
f <- MakeSignal('HeaviSine', 2^3)
qmf <- MakeONFilter('Daubechies', 10)
L <- 0
wc <- FWT_PO(f, L, qmf)
thr <- 2
wct <- JSThresh(wc, thr)
fsoft <- IWT_PO(wct, L, qmf)
# }

Run the code above in your browser using DataLab