R/overallmean.R

Defines functions overallmean

Documented in overallmean

overallmean <-
function(x){
   overall <- mean(x)
   n1 <- dim(x)[1]
   n2 <- dim(x)[2]
   matrix(nrow=n1,ncol=n2,data=rep(overall,n1*n2))
}

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.