rowMSD: Mean and Standard Deviation estimates for each row in a...

Description Usage Arguments Value Author(s) Examples

Description

Calculates the sample mean and standard deviation for each row in a matrix. The mean vector is calculated first. The elements of the matrix are then centered by the mean vector before the sample standard deviation is calculated.

Usage

1
rowMSD(x)

Arguments

x

numeric matrix

Value

A list consisting of:

rm

vector of row means

rsd

vector of row standard deviations

Author(s)

John Lawrence

Examples

1
2
x=matrix(rnorm(1000),nrow=10)
rowMSD(x)

SurvDisc documentation built on May 2, 2019, 9:12 a.m.

Related to rowMSD in SurvDisc...