image {aion}R Documentation

Heat Map

Description

Heat Map

Usage

## S4 method for signature '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.

Author(s)

N. Frerebeau

See Also

graphics::image()

Other plotting tools: plot(), year_axis()

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())

[Package aion version 1.0.2 Index]