threshold.imwdc {wavethresh}R Documentation

Threshold two-dimensional compressed wavelet decomposition object

Description

This function provides various ways to threshold a imwdc class object.

Usage

## S3 method for class 'imwdc'
threshold(imwdc, verbose=FALSE, ...)

Arguments

imwdc

The two-dimensional compressed wavelet decomposition object that you wish to threshold.

verbose

if TRUE then the function prints out informative messages as it progresses.

...

other arguments passed to the threshold.imwd function to control the thresholding characteristics such as policy, type of thresholding etc.

Details

This function performs exactly the same function as threshold.imwd except is accepts objects of class imwdc rather than imwd. Indeed, this function physically calls the threshold.imwd function after using the uncompress function to convert the input imwdc object into a imwd object.

Value

An object of class imwdc if the compression option is supplied and set to TRUE, otherwise a imwd object is returned. In either case the returned object contains the thresholded coefficients. Note that if the return.threshold option is set to TRUE then the threshold values will be returned rather than the thresholded object.

RELEASE

Version 3.6 Copyright Guy Nason and others 1997

Author(s)

G P Nason

References

The FDR code segments were kindly donated by Felix Abramovich.

See Also

imwd, imwd.object, imwdc.object, threshold, uncompress.

Examples

#
# See examples in \code{\link{threshold.imwd}}.
#

[Package wavethresh version 4.7.2 Index]