Learn R Programming

wavethresh (version 4.7.3)

nullevels.wst: Sets whole resolution levels of coefficients equal to zero in a wst object.

Description

Sets whole resolution levels of coefficients equal to zero in a wd object.

Usage

# S3 method for wst
nullevels(wst, levelstonull, ...)

Value

An object of class wst where the coefficients in resolution levels specified by levelstonull have been set to zero.

Arguments

wst

An object of class wst.

levelstonull

An integer vector specifying which resolution levels of coefficients of wst that you wish to set to zero.

...

any other arguments

RELEASE

Version 3.8.1 Copyright Guy Nason 1997

Author

G P Nason

Details

Setting whole resolution levels of coefficients to zero can be very useful. For examples, one can construct a linear smoothing method by setting all coefficients above a particular resolution (the primary resolution equal to zero. Also setting particular levels equal to zero can also be useful for removing noise which is specific to a particular resolution level (as long as important signal is not also contained at that level).

To remove individual coefficients on a systematic basis you probably want to look at the threshold function.

See Also

nullevels, wst, wst.object, threshold.

Examples

Run this code
#
# Look at the examples for \code{\link{nullevels.wd}}.
# The operation is almost identical except that \code{\link{wst}}
# objects are replaced by \code{\link{wd}} ones. 

Run the code above in your browser using DataLab