meanrow: 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
Value
- The arithmetic means of the rows
(meanRow) or columns (meanCol) of x.
Details
Computes the arithmetic means of the rows
(meanRow) or columns (meanCol) of x.Examples
Run this codedata(SimulatedAmounts)
meanCol(sa.tnormals)
meanRow(sa.tnormals)
Run the code above in your browser using DataLab