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

nullevels.wstR 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

## S3 method for class 'wst'
nullevels(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 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.

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

Author(s)

G P Nason

See Also

nullevels, wst, wst.object, threshold.

Examples

#
# 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. 

wavethresh documentation built on Sept. 11, 2024, 9:33 p.m.