OverviewClamps PackagesCM DictionaryClamps DictionaryFomus

histogram

Function

(histogram data min max slots)

Returns a histogram of numbers. min and max are the lower and upper bounds for values in numbers. slots is the number of sampling segements between low and high to count.

Examples

cm> (histogram (loop repeat 100 collect (random 700)) 0 700 7)
(17 15 13 12 11 19 13)
cm>

See Also