Cc: Columnwise centering of a matrix

Description Usage Arguments Value Author(s) See Also Examples

Description

Computation of a columnwise centered version of a matrix.

Usage

1
 Cc(A)

Arguments

A

Matrix of any order

Value

Ac

Matrix columnwise centered

Author(s)

Maria Antonietta Del Ferraro mariaantonietta.delferraro@yahoo.it
Henk A.L. Kiers h.a.l.kiers@rug.nl
Paolo Giordani paolo.giordani@uniroma1.it

See Also

nrm2

Examples

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

Example output

[1] -1.850072e-17  0.000000e+00 -1.850281e-16

ThreeWay documentation built on May 2, 2019, 9:20 a.m.

Related to Cc in ThreeWay...