plot-MatH: Method plot for a matrix of histograms

Description Usage Arguments Examples

Description

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

Usage

1
2
3
## 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

1
2
3
4
5
6
7
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)

HistDAWass documentation built on Dec. 7, 2017, 5:03 p.m.