BUCKET(1G) COMMAND REFERENCE BUCKET(1G)
NAME
bucket - generate buckets and counts
SYNOPSIS
bucket [ -an ] [ -cn ] [ -Fvector ] [ -hn ] [ -in ] [ -ln ]
[ -nn ] [ vector ... ]
DESCRIPTION
Output is a vector with odd values being bucket limits (in
parentheses) and even values being the number of elements
from the input within the limits. Input vectors are assumed
to be sorted. If no input vector(s) are given, the standard
input is assumed. Unless otherwise specified, bucket limits
are generated based on the input data and the rule:
num buckets = 1 + log2(num elements).
OPTIONS
-an choose limits such that n is the average count per
bucket.
-cn n elements per line in the output.
-Fvector
take limit values from vector.
-hn n is the highest limit.
-in n is the interval between limits.
-ln n is the lowest limit.
-nn n is the number of buckets.
EXAMPLES
The following command outputs limits and counts for the
elements of A, where the lowest limit is -5 and the average
bucket count is 12.
bucket -a12,l-5 A
SEE ALSO
abs(1g), af(1g), bar(1g), bel(1g), ceil(1g), cor(1g),
cusum(1g), cvrtopt(1g), dtoc(1g), erase(1g), exp(1g),
floor(1g), gamma(1g), gas(1g), gd(1g), ged(1g),
graphics(1g), gtop(1g), hardcopy(1g), hilo(1g), hist(1g),
hpd(1g), intro(1g), label(1g), list(1g), log(1g), lreg(1g),
mean(1g), mod(1g), pair(1g), pd(1g), pie(1g), plot(1g),
point(1g), power(1g), prime(1g), prod(1g), ptog(1g),
qsort(1g), quit(1g), rand(1g), rank(1g), remcom(1g),
root(1g), round(1g), siline(1g), sin(1g), subset(1g),
Printed 10/17/86 1
BUCKET(1G) COMMAND REFERENCE BUCKET(1G)
td(1g), tekset(1g), title(1g), total(1g), ttoc(1g), var(1g),
vtoc(1g), whatis(1g), yoo(1g), and gps(5g).
Printed 10/17/86 2
%%index%%
na:72,72;
sy:144,307;
de:451,524;
op:975,509;
ex:1484,239;
se:1723,1182;3049,287;
%%index%%000000000115