R/PROJECT.R

Defines functions PROJECT

Documented in PROJECT

PROJECT <-
function(MM)
{
n <- nrow(MM)
PMM <- MM-(matrix(1, n, 1)%*%apply(MM, 2, sum))/n
return(PMM)
}

Try the SPA3G package in your browser

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

SPA3G documentation built on May 2, 2019, 11:12 a.m.