R/column_centerer.R

Defines functions .column_centerer

.column_centerer <- function(mm){
  mm <- mm-matrix(rep(as.vector(apply(mm,2,mean)),nrow(mm)),nrow=nrow(mm),byrow=TRUE)
  return(mm)
}

Try the slgf package in your browser

Any scripts or data that you put into this service are public.

slgf documentation built on Nov. 22, 2022, 1:09 a.m.