Skip to contents

Heat Map

Usage

# S4 method for class 'TimeSeries'
image(x, calendar = getOption("aion.calendar"), k = 1, ...)

Arguments

x

A TimeSeries object.

calendar

A TimeScale object specifying the target calendar (see calendar()).

k

An integer specifying the slice of x along the third dimension to be plotted.

...

Further parameters to be passed to graphics::image().

Value

image() is called for its side-effects: it results in a graphic being displayed. Invisibly returns x.

See also

graphics::image()

Other plotting tools: plot(), year_axis()

Author

N. Frerebeau

Examples

## Create 6 time-series of 50 observations
## Sampled every two years starting from 2000 BP
X <- series(
  object = matrix(rnorm(300), nrow = 50, ncol = 6),
  time = seq(2000, by = -2, length.out = 50),
  calendar = BP()
)

## Image
image(X, calendar = CE())