This function returns the row mean matrix of an input matrix
Usage
rowmean(x)
Arguments
x
The input matrix. Make sure this is a matrix object
Value
The row mean matrix
Details
This function calculates the mean of each row within the input matrix. If the matrix has dimension m x n, this function will return a m x n matrix, where each row has the same result, and the average of the n elements in the corresponding row in the input matrix.