svd_sign: SVD with fixed sign Performs SVD and then adjusts the sign of...

Description Usage Arguments Value

View source: R/svd_sign.R

Description

SVD with fixed sign Performs SVD and then adjusts the sign of each column of the U matrix so that the value with the greatest magnitude is positive. It fixes the signs of the V matrix accordingly.

Usage

1

Arguments

X

Design matrix to create knockoffs for.

Value

The SVD of X: U, a vector of singular values d, V, such that X = Udiag\{d\}V^T.


svteichman/prelim.knockoffs documentation built on May 28, 2020, 5:14 p.m.