Learn R Programming

wavethresh (version 4.6.1)

drawwp.default: Subsidiary routine that actually computes wavelet packet values

Description

Function computes the values of a given wavelet packet on a discrete grid.

Usage

drawwp.default(level, index, filter.number = 10, family = "DaubLeAsymm",
    resolution = 64 * 2^level)

Arguments

level
The resolution level of the packet you want
index
The packet index of the packet you want
filter.number
The type of wavelet you want, see filter.select
family
The family of wavelet you want, see filter.select
resolution
The number of ordinates at which you want the wavelet packet

Value

  • A vector containing the "y" values of the required wavelet packet.

Details

Function works by computing a wavelet packet transform of a zero vector. Then inserting a single one somewhere in the desired packet, and then inverts the transform.

See Also

draw.wp,InvBasis, nlevelsWT, putpacket, wp