Learn R Programming

mwaved (version 1.1.8)

plot.waveletCoef: Multi-Resolution Analysis plot of wavelet coefficients

Description

Plots the wavelet coefficient object in the multiresolution analysis

Usage

# S3 method for waveletCoef
plot(
  x,
  y = NULL,
  labels = NULL,
  ...,
  lowest = NULL,
  highest = NULL,
  scaling = 1,
  ggplot = TRUE
)

Arguments

x

A list of class waveletCoef.

y

An optional numeric vector of trimmed wavelet coefficients to be overlayed on top of the plot for comparison with the x wavelet coefficients.

labels

Optional character vector with two elements to give name labels to x and y respectively.

...

Arguments to be passed to methods.

lowest

Specifies the coarsest resolution to display in the Multi-resolution plot.

highest

Specifies the finest resolution to display in the Multi-resolution plot.

scaling

A numeric value that acts as a graphical scaling parameter to rescale the wavelet coefficients in the plot. A larger scaling value will reduce the size of the coefficients in the plot.

ggplot

A logical value to specify if the user wants to use base graphics (FALSE) or ggplot2 graphics (TRUE).

See Also

multiCoef for generating a list of class `waveletCoef`