
This function is generic (see Methods); method functions can be written to handle specific classes of data. Classes which already have methods for this function include: `wd', `imwd'.
Nason, G. P. and Silverman, B. W. (1994). The discrete wavelet transform in S. Journal of Computational and Graphical Statistics, 3, 163--191.
# # Plot some test data # > tsplot(ynoise)# # Do a 1D decomposition # > ynwd <- wd(ynoise) # # Plot the decomposition of the noisy data # The by.level argument blows up the smaller levels # > plot(ynwd, scaling="by.level")
# # Threshold it # > ynwdt <- threshold(ynwd) # # Plot the thresholded version # > plot(ynwdt, scaling="by.level")
# # Reconstruct from the thresholded coefficients # > ynwdtr <- wr(ynwdt) # # Plot the reconstructed function # > tsplot(ynwdtr)
![]()

G.P.Nason@bristol.ac.uk