meanrow {compositions} | R Documentation |
The arithmetic mean of rows or columns
Description
Computes the arithmetic mean.
Usage
meanRow(x,..., na.action=get(getOption("na.action")))
meanCol(x,..., na.action=get(getOption("na.action")))
Arguments
x |
a numeric vector or matrix of data |
... |
arguments to |
na.action |
Details
Computes the arithmetic means of the rows (meanRow) or columns (meanCol) of x.
Value
The arithmetic means of the rows (meanRow) or columns (meanCol) of x.
Author(s)
K.Gerald v.d. Boogaart http://www.stat.boogaart.de
See Also
Examples
data(SimulatedAmounts)
meanCol(sa.tnormals)
meanRow(sa.tnormals)
[Package compositions version 2.0-8 Index]