Learn R Programming

RcmdrPlugin.EZR (version 1.33)

hist2: Modified version of hist()

Description

The modified points from the original hist() are 1) hist2() uses Scott argorithm instead of Sturges. 2) hist2() adds a group below the lowest group created by hist().

Usage

hist2(x, breaks="scott", plot=TRUE, ...)

Arguments

x
a vector of values for which the histogram is desired.
breaks
see hist() for details.
plot
logical. If TRUE (default), a histogram is plotted.
...
further arguments and graphical parameters passed to plot.histogram and thence to title and axis (if plot = TRUE).

Details

See hist() for details.

See Also

hist