numaverage(1)

Find the average of a set of numbers.

Section 1 num-utils bookworm source

Description

AVERAGE

NAME

numaverage - Find the average of a set of numbers.

SYNOPSIS

numaverage [-dhiIlmMV] < FILE >

| numaverage [-dhiIlmMV] (Input on STDIN from pipeline.)

numaverage [-dhiIlmMV] (Input on STDIN. Use Ctrl-D to stop.)

DESCRIPTION

By default numaverage will determine the average from all numbers on input. Other options allow you to find the mode and median.

OPTIONS

-i Only return the integer portion of the final sum.
-I Only return the decimal portion of the final sum
-m Find the mode (most occurring) of the list of numbers,
or when there's more than one mode, the first completed mode.
-M Find the median (middle number) of the list of numbers.
-l When finding the median and the count of numbers in the set is even,
use the lower middle number instead of the upper middle number.
-h Help: You're looking at it.
-V Increase verbosity.
-d Debug mode. For developers

SEE ALSO

numbound(1), numinterval(1), numnormalize(1), numgrep(1), numprocess(1), numsum(1), numrandom(1), numrange(1), numround(1)

COPYRIGHT

numaverage is part of the num-utils package, which is copyrighted by Suso Banderas and released under the GPL license. Please read the COPYING and LICENSE files that came with the num-utils package

Developers can read the GOALS file and contact me about providing
submitions or help for the project.

MORE INFO

More info on numaverage can be found at:
http://suso.suso.org/xulu/Num-utils