mat.mean {rama} | R Documentation |
This function computes the mean and standard deviation of each row in a data matrix. The source code is written in C. As a consequence, the computation is quite fast.
mat.mean(data)
data |
The data matrix. |
A matrix, the first columns contain the means, the second the standard deviations.
Raphael Gottardo
data(hiv) sample1<-hiv[,1:4] ms1<-mat.mean(sample1)