stat-column
Usage:
crux stat-column [options] <tsv file> <column name>
Description:
Given a tab-delimited file, collect summary statistics on the values within a specified column. The specified column must contain numeric values.
Input:
tsv file
– A tab-delimited file, with column headers in the first row. Use "-" to read from standard input.column name
– A column name.
Output:
stdout
– The program prints to standard output the following statistics for the specified column: number of rows, minimum, maximum, sum, average, and median of the data values.
Options:
-
Input and output
--delimiter <string>
– Specify the input and output delimiter to use when processing the delimited file. The argument can be either a single character or the keyword 'tab.' Default =tab
.--header T|F
– Print the header line of the file, in addition to the columns that match. Default =true
.--precision <integer>
– Set the precision for scores written to sqt and text files. Default =8
.--verbosity <integer>
– Specify the verbosity of the current processes. Each level prints the following messages, including all those at lower verbosity levels: 0-fatal errors, 10-non-fatal errors, 20-warnings, 30-information on the progress of execution, 40-more progress information, 50-debug info, 60-detailed debug info. Default =30
.