R/matrix-ops.R
colcenter.Rd
Center a matrix column-wise
colcenter(m, by = "mean")
a matrix or Matrix
either "mean", "median" or a numeric vector of length equal to the number of columns of ‘m’. Default: "mean"
column-centered matrix