Columnwise centering of a matrix
Computation of a columnwise centered version of a matrix.
Cc(A)
A
: Matrix of any orderMaria Antonietta Del Ferraro mariaantonietta.delferraro@yahoo.it
Henk A.L. Kiers h.a.l.kiers@rug.nl
Paolo Giordani paolo.giordani@uniroma1.it
nrm2
X <- matrix(rnorm(6*3),ncol=3) Y <- Cc(X) apply(Y,2,mean)
Useful links