plot-HTS: Plot a histogram time series

plot-HTSR Documentation

Plot a histogram time series

Description

Plots a HTS object as a sequence of violin plots or boxplots, one for each timestamp.

Usage

## S4 method for signature 'HTS'
plot(x, y = "missing", type = "VIOLIN", border = "black", maxno.perplot = 30)

Arguments

x

A HTS object.

y

Not used.

type

The type of plot: "VIOLIN" (default) or "BOXPLOT".

border

The colour of the borders (default "black").

maxno.perplot

The maximum number of timestamps in each row of the plot (default 30): longer series are split into several rows.

Value

The plot is drawn on the current device and the ggplot object is returned invisibly, so that it can be further modified.

Examples

plot(subsetHTS(RetHTS, from = 1, to = 10))

plot(RetHTS, type = "BOXPLOT", border = "blue", maxno.perplot = 20)
plot(RetHTS, type = "VIOLIN", maxno.perplot = 20)


HistDAWass documentation built on Oct. 29, 2026, 5:07 p.m.