R/lfunc.R

lfunc <-
function (x, p) {
  l <- as.matrix(eigen (crossprod(x))$vectors[, 1:p])
  return (x %*% tcrossprod (l))
}

Try the Correlplot package in your browser

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

Correlplot documentation built on March 7, 2023, 8:33 p.m.