Learn R Programming

ThreeWay (version 1.1.3)

Cc: Columnwise centering of a matrix

Description

Computation of a columnwise centered version of a matrix.

Usage

Cc(A)

Value

Ac

Matrix columnwise centered

Arguments

A

Matrix of any order

Author

Maria Antonietta Del Ferraro [email protected]
Henk A.L. Kiers [email protected]
Paolo Giordani [email protected]

See Also

nrm2

Examples

Run this code
X <- matrix(rnorm(6*3),ncol=3)
Y <- Cc(X)
apply(Y,2,mean)

Run the code above in your browser using DataLab