Learn R Programming

mvcwt (version 1.3.1)

image.mvcwt: Draw a heatmap of a mvcwt object

Description

Draws one or more heatmaps

Usage

# S3 method for mvcwt
image(x, z.fun = "Re", bound = 1, reset.par = TRUE, ...)

Arguments

x

an object as returned by mvcwt

z.fun

a function applied to the data before plotting

bound

if finite, draw lines bound * scale units inside the plot boundaries

reset.par

if true, reset graphical parameters on exit

additional arguments passed to image

Value

x is returned invisibly

Details

This function will draw a series of heatmaps on the graphical device. If you want to add additional graphical elements, set reset.par to false.

See Also

mvcwt, wmr

Examples

Run this code
# NOT RUN {
data(lrlake)
x = subset(lrlake, Basin == "Treatment", LRL.Day) / 365.25
y = subset(lrlake, Basin == "Treatment", -(1:8))
w = mvcwt(x, y, min.scale = 0.25, max.scale = 4)
image(w, z.fun = "Mod")
# }

Run the code above in your browser using DataLab