ccolmv: Colwise means or variances

Description Usage Arguments Value Examples

Description

Computes the colwise means or variances of a matrix - internal use

Usage

1

Arguments

X

Matrix

var

boolean, defines whether the colwise variances rather than the means will be returned

Value

Numeric Vector of colwise means or variances of X

Examples

1
2
3
X <- matrix(rnorm(1000*500),1000,500)
means <- ccolmv(X)
vars <- ccolmv(X,var=TRUE)

cgenpp documentation built on May 2, 2019, 5:56 p.m.

Related to ccolmv in cgenpp...