basisplot.wp | R Documentation |
Note, one or two (depending on the state of draw.mode
) graphics
windows with mouse-clickable interfaces have to open to use this function.
Graphically select a wavelet packet basis associated with a wavelet packet object. Left-click selects packets, right click exits the routine.
## S3 method for class 'wp'
basisplot(x, draw.mode=FALSE, ...)
x |
The |
draw.mode |
If TRUE then TWO graphics windows have to be open. Every time a packet is selected in the packet selection window, a representation of the wavelet packet basis function is drawn in the other window |
... |
Other arguments |
A wavelet packet basis described in WaveThresh using the node vector
object (class from MaNoVe.wp
) which for wavelet packets
is nvwp
. This function takes a wp.object
object
and graphically depicts all possible basis function locations. The user
is then invited to click on different packets, these change colour.
When finished, the user right clicks on the graphic and the selected
basis is returned.
Note that the routine does not check to see whether the basis is legal. You have to do this. A legal basis can select packets from different levels, however you can't select packets that both cover the same packet index, however every packet index has to be covered.
A better function would check basis legality!
An object of class nvwp
which contains the specification
for the basis.
G P Nason
addpkt
, InvBasis
, MaNoVe.wp
, plotpkt
,
wp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.