fac: Left square root of X'X

Usage Arguments Examples

Usage

1
fac(x)

Arguments

x

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (x) 
{
    xx <- svd(x)
    ret <- t(xx$v) * sqrt(pmax(xx$d, 0))
    ret
  }

gmonette/spida15 documentation built on May 17, 2019, 7:26 a.m.