histogramDS {dsGraphics} | R Documentation |
This functions produces the information required to plot a histogram. This is done without allowing for bins (cells) with a count of less than 5. If a bin has a count < 5 it is collapsed with the nearing bin; this process iterates until all bins have count >=5.
histogramDS(xvect, min, max, seed)
xvect |
the numeric vector for which the histogram is desired. |
min |
a numeric, the lower limit of the distribution. |
max |
a numeric, the upper limit of the distribution. |
seed |
an integer, the value to set the seed at when generating the break points. |
a list with an object of class histogram
and the
number of invalid cells
Gaye, A.