hist.optbin {optbin} | R Documentation |
Histogram with Optimal Bins Marked
Description
Draw a histogram of the data used to build the optimal binning and mark the extent of the bins.
Usage
## S3 method for class 'optbin'
hist(x, bincol=NULL, main=NULL, xlab=NULL, ...)
Arguments
x |
an object of class |
bincol |
vector of colors for showing extent of bins (default uses an internal set) |
main |
plot title, if not specified will modify the normal histogram title |
xlab |
x axis label, if not specified will modify the normal histogram label |
... |
other parameters passed through to hist |
Details
The points behind the binning are passed unchanged to the histogram function. Bins are marked with colored bars under the x axis, and lines showing the average value in each are also drawn on top.
Value
None
See Also
[Package optbin version 1.3 Index]