R: Converts a nondecimated wavelet packet object to a (large)...

wpst2m {wavethresh} | R Documentation

## Converts a nondecimated wavelet packet object to a (large) matrix with packets stored as columns

### Description

Takes a nondecimated wavelet packet transform, takes the packets one packet at a time and stores them in a matrix. The packets are rotated on extraction and storage in the matrix in an attempt to align them, they are also optionally transformed by `trans`. The rotation is performed by `compgrot`.

Note that the coefficients are of some series, not the basis functions themselves.

### Usage

    wpst2m(wpstobj, trans = identity)

### Arguments

`wpstobj` | The nondecimated wavelet packet object to store
`trans` | The optional transform to apply to the coefficients

### Details

Description says all

### Value

A list, of class w2m, with the following components:

`m` | The matrix containing the packets
`level` | A vector containing the levels from where the packets in m come from
`pktix` | A vector containing the packet indices from where the packets in m come from
`nlevelsWT` | The number of resolution levels from the original wpst object

### Author(s)

G P Nason

### See Also

`makewpstRO`, `print.w2m`

### Examples

    #
    # Not intended to be directly used by users
    #

[Package wavethresh version 4.6.8 Index]