| rowM | R Documentation | 
Calculates the mean of each row of a matrix (though having only one column).
rowM(x)
| x | a  | 
A vector with the mean of each row of x, even if the
matrix only contains one column.
# Build a matrix with one column
  M <- matrix(rnorm(10), nrow=1)
# rowM (resulting on the same matrix M)
  rowM(M)
# Build a matrix
  M <- matrix (runif(100), nrow=10)
# Apply rowM function
  rowM(M)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.