R/projx.R

Defines functions projx

projx <- function(x){
  u = svd(x)$u
  return(u%*%t(u))
}

Try the lbreg package in your browser

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

lbreg documentation built on Dec. 26, 2019, 5:06 p.m.