meanrow {compositions} | R Documentation |
Computes the arithmetic mean.
mean.row(x,..., na.action=get(getOption("na.action"))) mean.col(x,..., na.action=get(getOption("na.action")))
x |
a numeric vector or matrix of data |
... |
arguments to mean |
na.action |
The na.action to be used: one of
na.omit ,na.fail ,na.pass |
The arithmetic means of the rows (mean.row) or columns (mean.col) of x.
data(SimulatedAmounts) mean.col(sa.tnormals) mean.row(sa.tnormals)