R/PCA.R

Defines functions `PCA`

`PCA` <-
    function(Y, scale = FALSE)
{
    Ybar <- scale(Y, center = TRUE, scale = scale)
    svd(Ybar)
}

Try the barebone package in your browser

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

barebone documentation built on May 2, 2019, 5:17 p.m.