nullevels.wst {wavethresh}R Documentation

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

nullevels.wst(wst, levelstonull, ...)

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

Details

Setting whole resolution levels of coefficients to zero can be very useful. For example, 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.

Value

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

RELEASE

Version 3.8.1 Copyright Guy Nason 1997

See Also

nullevels, wst, wst.object, threshold.

Examples

#
# Look at the example for this-is-escaped-code{
# The operation is almost identical except that this-is-escaped-codenormal-bracket41bracket-normal
# objects are replaced by this-is-escaped-codenormal-bracket43bracket-normal ones. 

[Package wavethresh version 4.0-2 Index]