R/columnmean.R

Defines functions columnmean

Documented in columnmean

columnmean <-
function(x){
    colvec <- colMeans(x)
    nrow <- dim(x)[1]
    ones <- rep(1,nrow)
    ones %*% t(colvec)
 }

Try the svdvisual package in your browser

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

svdvisual documentation built on May 2, 2019, 4:15 a.m.