DOKK / manpages / debian 11 / gbutils / gbbin.1.en
GBBIN(1) User Commands GBBIN(1)

gbbin - A program to bin data

gbbin [options]

Compute binned statistics. Data are read from standard input as records (X,Y1,Y2,...). Equipopulated bins are built with respect to the first field X. Option -O decide which statistics are printed for each bin. With options -x, -y or -c elements in different bins are split in different columns.

set the number of equipopulated bins (default 10)
min,max set manually the binning window. Ignored with -x,-y and -c
set the output with a comma separated list of variables: xmean, xmin, xmax, xstd, xmedian, ymean, yadev, ystd, yvar, yskew, ykurt, ymin, ymax, ymedian, num (default xmean, ymean)
the values in column # are split in different columns; # can be a comma separated list of columns
equivalent to -c 1
equivalent to -c 2
specify the input fields separators (default " \t")
verbose mode

split the records (line) in 20 bins according to first field. Print the average value of the bin entries for each column. If 'file' has 3 columns, the output has twenty rows and three columns.
bin the records with respect to the first value and print the median value of the other columns in each bin
the binned values of the third columns are printed on separate columns. The output has ten columns.

Written by Giulio Bottazzi

Report bugs to <gbutils@googlegroups.com>

Package home page <http://cafim.sssup.it/~giulio/software/gbutils/index.html>

Copyright © 2001-2018 Giulio Bottazzi This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (version 2) as published by the Free Software Foundation;

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

December 2018 gbbin 6.0.beta2