Learn R Programming

tswge (version 2.1.0)

plotts.dwt.wge: Plots Discrete Wavelet Transform (DWT)

Description

Plots DWT obtained using functiond dwt from waveslim

Usage

plotts.dwt.wge(x, n.levels, type='S8')

Value

The output is a plot of the DWT.

Arguments

x

Realization (must be of length 2^k for some integer k between 2 and 14

n.levels

Maximum order of discrete wavelet transforms to be calculated. n.levels must be less than or equal to k where n=2^k

type

Discrete wavelet to use: options include 'haar', 'S8','D4','D6',D8'

Author

Wayne Woodward

Details

The wavelsim dwt function names these :'haar', 'la8','d4','d6',and 'd8' respectively and the conversion is done transparently within the R code. This is done transparently within the R code.

References

Applied Time Series Analysis with R, second edition by Woodward, Gray, and Elliott

Examples

Run this code
data(bumps256)
                   plotts.dwt.wge(bumps256,n.levels=4,type='S8')

Run the code above in your browser using DataLab