R/doSVD.R

"doSVD" <-
function (x, numleft, numright)
#doSVD
{
	svdx<-La.svd(as.matrix(x),nu=numleft,nv=numright)
	list(values=svdx$d, left=as.matrix(svdx$u),
             right=as.matrix(svdx$vt))

}

Try the TIMP package in your browser

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

TIMP documentation built on May 2, 2019, 5:55 p.m.