plot.hdchangeseq: Plot function for 'hdchangeseq' class

View source: R/plot.hdchangeseq.R

plot.hdchangeseqR Documentation

Plot function for 'hdchangeseq' class

Description

Visualising the high-dimensional time series in an 'hdchangeseq' class object. The data matrix or its mean structure is visualised using a grid of coloured rectangles with colours corresponding to the value contained in corresponding coordinates. A heat-spectrum (red to white for values low to high) is used to convert values to colours.

Usage

## S3 method for class 'hdchangeseq'
plot(x, noise = TRUE, shuffle = FALSE, ...)

Arguments

x

An object of 'hdchangeseq' class

noise

If noise == TRUE, the data matrix is plotted, otherwise, only the mean structure is plotted.

shuffle

Whether to shuffle the rows of the plotted matrix.

...

Other graphical parameters are not used.

Examples

n <- 2000; p <- 200; ks <- 40; zs <- c(500,1000,1500)
varthetas <- c(0.1,0.15,0.2); overlap <- 0.5
obj <- multi.change(n, p, ks, zs, varthetas, overlap)
plot(obj, noise = TRUE)

InspectChangepoint documentation built on May 3, 2022, 9:07 a.m.