hist_optbin: Histogram with Optimal Bins Marked

hist.optbinR 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 optbin.

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

optbin, hist


optbin documentation built on Sept. 20, 2022, 1:06 a.m.

Related to hist_optbin in optbin...