Learn R Programming

LSWPlib (version 0.1.0)

get.wavelet.basis: Wavelet Packet indices for a Wavelet Basis

Description

get.wavelet.basis returns the full set of packet indices relative to a wavelet basis selected from the wavelet packet table.

Usage

get.wavelet.basis(scale)

Arguments

scale

The maximum scale for which the indices of the wavelet basis are returned. Tipically this is a positive integer.

Value

A matrix of two columns where each row refers to a different selected packet. The first index refers to each given scale, the second index refers to the packet within this level.

Details

This function is used internally by other routines but it might be useful when the 'classical' wavelet spectral estimation is of interest. The function returns an object of class LSWPbasis, whose structure is the same to the object produced by best.basis.

References

A. Cardinali and G.P. Nason (2017). Locally Stationary Wavelet Packet Processes: Basis Selection and Model Fitting. Journal of Time Series Analysis, 38:2, 151-174.

See Also

best.basis, get.flat.basis

Examples

Run this code
# NOT RUN {
get.wavelet.basis(scale = 4)

# }

Run the code above in your browser using DataLab