Learn R Programming

mvcwt (version 1.3.1)

plot.mvcwt: Plot wavelet output

Description

Plot multivariate wavelet output across variables, scales or both.

Usage

# S3 method for mvcwt
plot(x, var = 1, scale = 1, titles = TRUE, z.fun = "Re",
  ...)

Arguments

x

an object such as produced by mvcwt

var

which variables to plot; can be a vector

scale

which scales to plot; can be a vector; closest scale is picked

titles

plot titles on each sub-plot?

z.fun

apply function to data prior to plotting

additional graphical parameters passed to plot

Value

x is returned invisibly

Details

Makes one or more plots on the graphics device. Total number of plots is limited to 10.

See Also

mvcwt

Examples

Run this code
# NOT RUN {
data(lrlake)
x = subset(lrlake, Basin == "Reference", LRL.Day) / 365.25
y = subset(lrlake, Basin == "Reference", -(1:8))
w = mvcwt(x, y, min.scale = 0.25, max.scale = 4)
plot(w, var = 1:10)
# }

Run the code above in your browser using DataLab