Centers a matrix.
Returns a centered matrix, i.e., each column of the matrix is replaced by deviations from its column mean.
The centered matrix.
John Kloke email@example.com, Joseph McKean
x <- cbind(seq(1,5,length=5),seq(10,20,length=5))
xc <- centerx(x)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.