plot-TdistributionH: Plot a histogram with a time reference

plot-TdistributionHR Documentation

Plot a histogram with a time reference

Description

Plots a TdistributionH object: see plot,distributionH-method for the types of plot.

Usage

## S4 method for signature 'TdistributionH'
plot(x, type = "HISTO", col = "green", border = "black")

Arguments

x

A TdistributionH object.

type

The type of plot: "HISTO" (default, histogram), "CDF" (cumulative distribution function), "QF" (quantile function), "DENS" (kernel density approximation), "HBOXPLOT" (horizontal boxplot) or "VBOXPLOT" (vertical boxplot).

col

The fill colour (default "green").

border

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

Value

The plot is drawn on the current device and the ggplot object is returned invisibly.

Examples

td <- new("TdistributionH", tstamp = 1, x = c(1, 2, 3), p = c(0, 0.4, 1))
plot(td)

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