TITLE(threshold @@ Thresholding wavelets - Generic function )
Applies soft or hard thresholding

This is a generic function.
Functions with names beginning in LANG({"threshold.") will be methods for this function.
LANG(wd), LANG(imwd).
USAGE(
threshold(x, ...)
)
ARGUMENTS(
ARG(x@@)
an S-PLUS object.
ARG(...@@)
methods may have additional arguments.

)
PARA BOLD(SIDE EFFECTS)
thresholding is applied to the object and a thresholded version is
returned.
PARA BOLD(RELEASE)
Release 2.2
Copyright Guy Nason 1993
PARA BOLD(REFERENCES)
Donoho, D and Johnstone, I.
Ideal Spatial Adaptation by Wavelet Shrinkage.
PARA BOLD(SEE ALSO)
LANG(wd), LANG(wr), LANG(imwd), LANG(imwr), LANG(wd.object), LANG(wr.object), LANG(compress)
BLANK

PARA BOLD( )
BLANK

EXAMPLES(
#
# Do a 1D decomposition
#
tdecomp <- wd(test.data)
#
# Threshold it
#
tdecomp.thresh <- threshold(tdecomp)
#
# Reconstruct from the thresholded coefficients
#
trecons <- wr(tdecomp.thresh)
#
# Plot the reconstructed function
#
plot(accessC(trecons))
)
PARA ITALIC(File automatically converted from S(-PLUS) help format)
