meanrow: The arithmetic mean of rows or columns
Description
Computes the arithmetic mean.Usage
mean.row(x,..., na.action=get(getOption("na.action")))
mean.col(x,..., na.action=get(getOption("na.action")))Arguments
x
a numeric vector or matrix of data
Value
- The arithmetic means of the rows
(mean.row)
or columns (mean.col) of x.
Examples
Run this codedata(SimulatedAmounts)
mean.col(sa.tnormals)
mean.row(sa.tnormals)
Run the code above in your browser using DataLab