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