Learn R Programming

wavethresh (version 4.7.3)

wp: Wavelet packet transform.

Description

This function computes a wavelet packet transform (computed by the complete binary application of the DH and DG packet operators, as opposed to the Mallat discrete wavelet transform which only recurses on the DH operator [low pass]).

Usage

wp(data, filter.number=10, family="DaubLeAsymm", verbose=FALSE)

Value

An object of class wp which contains the (decimated) wavelet packet coefficients.

Arguments

data

A vector containing the data you wish to decompose. The length of this vector must be a power of 2.

filter.number

This selects the smoothness of wavelet that you want to use in the decomposition. By default this is 10, the Daubechies least-asymmetric orthonormal compactly supported wavelet with 10 vanishing moments.

family

specifies the family of wavelets that you want to use. The options are "DaubExPhase" and "DaubLeAsymm".

verbose

if TRUE then (un)helpful messages are printed during the execution.

RELEASE

Version 3.0 Copyright Guy Nason 1994

Author

G P Nason

Details

The paper by Nason, Sapatinas and Sawczenko, 1998 details this implementation of the wavelet packet transform. A more thorough reference is Wickerhauser, 1994.

See Also

accessC.wp, accessD.wp, basisplot.wp, draw.wp,drawwp.default, filter.select, getpacket.wp, InvBasis.wp, MaNoVe.wp, plot.wp, print.wp, putC.wp, putD.wp, putpacket.wp, summary.wp, threshold.wp, wp.object.

Examples

Run this code
v <- rnorm(128)
vwp <- wp(v)

Run the code above in your browser using DataLab