mat.mean {rama} | R Documentation |

## Compute the mean and standard deviation of each row in a data matrix

### Description

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.

### Usage

mat.mean(data)

### Arguments

### Value

A matrix, the first columns contain the means, the second the
standard deviations.

### Author(s)

Raphael Gottardo

### See Also

`mean`

,`sd`

### Examples

data(hiv)
sample1<-hiv[,1:4]
ms1<-mat.mean(sample1)

[Package

*rama* version 1.0.1

Index]