JSThresh: Apply James-Stein Threshold

View source: R/JSThresh.R

JSThreshR Documentation

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

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)

fabnavarro/rwavelet documentation built on Aug. 22, 2024, 3:38 a.m.