R: Add a wavelet packet box to an already set up time-frequency...

addpkt {wavethresh} | R Documentation

## Add a wavelet packet box to an already set up time-frequency plot

### Description

This function assumes that a high-level plot has already been set up using `plotpkt`. Given that this function plots a wavelet packet box at a given level, packet index and with particular shading and color and optionally plotting a sequence of coefficients at that location rather than a shaded box.

### Usage

    addpkt(level, index, density, col, yvals)

### Arguments

`level` | The level at which the box or yvals are plotted
`index` | The packet index at which the box of yvals are plotted
`density` | The density of the shading of the box
`col` | The color of the box
`yvals` | If this argument is missing then a shaded coloured box is drawn, otherwise a time series of `yvals` is plotted where the box would have been.

### Details

Description says all

### Value

Nothing

### Author(s)

G P Nason

### See Also

`basisplot`,`basisplot.BP`, `basisplot.wp`, `plotpkt`, `plot.nvwp`

[Package wavethresh version 4.6.8 Index]