mat.mean: Compute the mean and standard deviation of each row in a data...

Description Usage Arguments Value Author(s) See Also Examples

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

1

Arguments

data

The data matrix.

Value

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

Author(s)

Raphael Gottardo

See Also

mean,sd

Examples

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


Search within the rama package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.