plot-MatH: Method plot for a matrix of histograms

plot-MatHR Documentation

Method plot for a matrix of histograms

Description

An overloading plot function for a MatH object. The method returns a graphical representation of the matrix of histograms.

Usage

## S4 method for signature 'MatH'
plot(x, y = "missing", type = "HISTO", border = "black", angL = 330)

Arguments

x

a distributionH object

y

not used in this implementation

type

(optional) a string describing the type of plot, default="HISTO".
Other allowed types are
"DENS"=a density approximation,
"BOXPLOT"=l boxplot

border

(optional) a string the color of the border of the plot, default="black".

angL

(optional) angle of labels of rows (DEFAULT=330).

Examples

plot(BLOOD) # plots BLOOD dataset
## Not run: 
plot(BLOOD, type = "HISTO", border = "blue") # plots a matrix of histograms
plot(BLOOD, type = "DENS", border = "blue") # plots a matrix of densities
plot(BLOOD, type = "BOXPLOT") # plots a  boxplots

## End(Not run)

Airpino/HistDAWass documentation built on Jan. 30, 2024, 7:53 p.m.