wp | R Documentation |
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]).
wp(data, filter.number=10, family="DaubLeAsymm", verbose=FALSE)
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 |
The paper by Nason, Sapatinas and Sawczenko, 1998 details this implementation of the wavelet packet transform. A more thorough reference is Wickerhauser, 1994.
An object of class wp
which contains the (decimated) wavelet packet coefficients.
Version 3.0 Copyright Guy Nason 1994
G P Nason
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
.
v <- rnorm(128)
vwp <- wp(v)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.