draw.wst | R Documentation |
This function draws the mother wavelet or scaling function associated with a wst.object
.
## S3 method for class 'wst'
draw(wst, ...)
wst |
The |
... |
Additional arguments to pass to the |
This function extracts the filter
component from the wst
object (which is constructed using the filter.select
function) to decide which wavelet packet family to draw. Once decided the draw.default
function is used to actually do the drawing.
If the plot.it
argument is set to TRUE
then nothing is returned. Otherwise, Otherwise, as with draw.default
, the coordinates of what would have been plotted are returned.
Version 3.6 Copyright Guy Nason 1995
If the plot.it
argument is TRUE
(which it is by default) a plot of the appropriate wavelet packet is plotted on the active graphics device.
G P Nason
filter.select
, wst.object
, draw.default
.
#
# Generate some test data
#
test.data <- example.1()$y
## Not run: ts.plot(test.data)
#
# Now do the \code{packet-ordered non-decimated DWT} of the data using the Daubechies
# least-asymmetric wavelet N=10 (the default arguments in \code{\link{wst}}).
#
tdwst <- wst(test.data)
#
# What happens if we try to draw this new tdwst object?
#
## Not run: draw(tdwst)
#
# We get a picture of the wavelet that did the transform
#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.