Learn R Programming

wavelets (version 0.2-9)

figure108.wt.filter: Plot Multiple DWT Wavelet or Scaling Filters

Description

Plots multiple DWT Wavelet or Scaling Filters similar to Figure 108 in Wavelet Methods for Time Series Analysis by Percival and Walden (2000).

Usage

figure108.wt.filter(filter.objects, level = 1, l = NULL, wavelet = TRUE)

Arguments

Details

The plotting space available for each filter is dictated by the value of greatest magnitude of all the filters plotted. The vertical plotting space for each level will then be 2 times the absolute value of this magnitude. The filters are successively plotted in the order given in filter.object, where the first filter in filter.object is drawn at the top of the plot region, and the successive filters are plotted below.

References

Percival, D. B. and A. T. Walden (2000) Wavelet Methods for Time Series Analysis, Cambridge University Press.

See Also

wt.filter

Examples

Run this code
# Plotting the LA8 Wavelet Filter
filter <- wt.filter()
figure108.wt.filter(filter)

# Alternatively
figure108.wt.filter("la8")

# Plotting the Haar, D4, D6 Wavelet Filters
figure108.wt.filter(list("haar", "d4", "d6"))

# Plotting the Haar, D4, D6 Scaling Filters
figure108.wt.filter(list("haar", "d4", "d6"), wavelet = FALSE)

# Alternatively
haar <- wt.filter("haar")
d6 <- wt.filter("d6")
figure108.wt.filter(list(haar, "d4", d6), wavelet = FALSE)

# Adding an "made up" filter (represented by c(1,-1,1,-1)
figure108.wt.filter(list(haar, "d4", d6, c(1,-1,1,-1)), wavelet = FALSE)

Run the code above in your browser using DataLab