plot.irregwd {wavethresh} | R Documentation |
Plot variance factors of wavelet transform coefficients for irregularly spaced wavelet transform object
Description
This function plots the variance factors associated with the wavelet coefficients arising from a irregwd.objects
irregularly spaced wavelet decomposition object.
Usage
## S3 method for class 'irregwd'
plot(x, xlabels, first.level = 1,
main = "Wavelet Decomposition Coefficients", scaling = "by.level",
rhlab = FALSE, sub, ...)
Arguments
x |
The |
xlabels |
A vector containing the "true" x-axis numbers that went with the vector that was transformed to produce the irregwd object supplied as the first argument to this function. If this argument is missing then the function tries to make up a sensible set of x-axis labels. |
first.level |
The first resolution level to begin plotting at. This argument can be quite useful when you want to supress some of the coarser levels in the diagram. |
main |
The main title of the plot. |
scaling |
How you want the coefficients to be scaled.
The options are: |
rhlab |
If |
sub |
A subtitle for the plot. |
... |
Other arguments supplied to the actual plot |
Details
Produces a plot similar in style to the ones in Donoho and Johnstone, 1994.
This function is basically the same as
plot.wd
except that variance factors and not coefficients
are plotted. A variance factor is a number that quantifies the variability of
a coefficient induced by the irregular design that was interpolated to
a regular grid by the makegrid
function which is used the
by irregwd
irregular wavelet transform function.
High values of the variance factor correspond to large variance in the wavelet coefficients but due to the irregular design, not the original noise structure on the coefficients.
Value
If rhlab==TRUE
then the scaling factors applied to each
scale level are returned. Otherwise NULL
is returned.
Author(s)
Arne Kovac
Examples
#
# The help for makegrid contains an example
# of using this function.
#