| Applying science to business management |
  
bin
Format: bin( list, x1, x2, n )
Arguments: [real] list List of input data
(real) x1 Lower limit
(real) x2 Upper limit
(int) n Number of bins
Returns: [any] A list of n elements representing
the number of items in the input list that fall into each of n
evenly spaced ranges
Description: Bin divides the range between x1
and x2 into n evenly spaced ranges. Bin then
counts the number of elements in the input list that fall into
each of these ranges. The information created by bin can
be used to create histograms showing the dispersion of input
data.
Examples: graph(bin(x,0,1,10))
= Creates a histogram of the data in x using 10 bins that
cover the range 0 to 1
See Also: pct
|