This function is an S Version 3 generic (see Methods);
method functions can be written to handle specific
S Version 3 classes of data. Classes which already
have methods for this function include:
cpt, crystal.list, crystal.vector, decompose, dwt, nd.dwt, rob.dwt, rob.dwt.list, waveshrink, waveshrink.rts, waveshrink.ts, wpt.
a list of numerical vectors, missing values are allowed.
OPTIONAL ARGUMENTS:
data
for objects of class
"decompose",
"nd.dwt", or
"wpt",
data can be either a logical flag or a numeric vector.
For objects of class
"crystal.list" or
"crystal.vector",
data
must be specified as a numeric vector.
If
data is logical and
data=TRUE, then the inverse transform
will be computed and plotted as the first subplot.
The argument
data is not available with the default method.
x.axis
logical flag: if
TRUE, then the x-axis is plotted.
y.axis
logical flag: if
TRUE, then the y-axis is plotted.
type
a character or character vector specifying the plotting style
for each subplot:
see the
par function for available types.
plot
logical flag: if
TRUE, the plot is created.
bars
logical flag: if
TRUE, vertical bars are added to the plot
on the right hand side to compare the range of the subplots.
The vertical bars are all the same absolute length,
so a subplot with a very wide bar has a very small
dynamic range.
vgap
number between
0 and
1 indicating the percent of the
y range
that is the length of the gap between individual plots.
The default is
.05, or 5% of the
y range.
grid
logical flag: if
TRUE grid lines are plotted between each subplot.
times
a vector of time units used to construct the x-axis.
grid.lty
integer giving the line type for the grid of crystals.
See the
lty argument for
par.
same.scale
a logical flag or integer vector.
If
same.scale is an integer vector,
it specifies which
resolution levels (crystals) are plotted on
the same vertical scale.
If
same.scale is logical and
TRUE,
then all levels are plotted on the same scale.
By default, all detail coefficients are plotted in the same scale.
zerocenter
logical flag: if
TRUE, the
y range for each subplot is centered at zero.
zeroline
logical flag: if
TRUE, a horizontal line at
0 on the y-axis
for each subplot.
col
a numeric value or vector specifying the color for each
subplot.
name.style
one of
"filter", or
"pretty" indicating the name style used for
crystals in the plot, see
crystal.names for details.
This argument applies only for wavelet packet objects.
Graphical parameters may also be supplied as arguments to
this function (see
).
VALUE:
a numeric vector giving the y-value centers of subplots.
SIDE EFFECTS:
produces a set of plots, one for each element of
x.