38 lines
758 B
Groff
38 lines
758 B
Groff
.TH mean "" "" "/rdb Command"
|
|
.PC "Display the mean of a column"
|
|
\fBmean [ \-l ] [ \fIcolumn ... \fB] < \fItable\fR
|
|
.PP
|
|
.II "column^mean value"
|
|
.B mean
|
|
displays the mean value of each
|
|
.IR column .
|
|
If no
|
|
.I column
|
|
appears on the command line,
|
|
.B mean
|
|
returns the mean value for each column in
|
|
.IR table .
|
|
.PP
|
|
.B mean
|
|
assign the value of zero to a blank line.
|
|
This changes the value of the mean.
|
|
If that is not what you want, use the command
|
|
.B rmblanks
|
|
or
|
|
.B "compress \-b"
|
|
to remove blank lines.
|
|
.B mean
|
|
also treats blank values as zero
|
|
.PP
|
|
The option \fB\-l\fR
|
|
prints the contents of the table, as well as the mean value for each
|
|
named column.
|
|
.SH Example
|
|
For an example of this command, see the entry for
|
|
.BR total .
|
|
.SH "See Also"
|
|
.B
|
|
maximum,
|
|
minimum
|
|
.R
|