decompbaseortho {mht} | R Documentation |
Orthonormalization of an input matrix with the Gram-Schmidt algorithm.
decompbaseortho(data)
data |
Input matrix of dimension n * p; each column is a variable. |
Performs an orthonormalization of the input matrix, recording the columns that are linear combination of the previous ones.
U |
The orthonormal basis obtained from |
nonind |
Set of variables with no contribution. |
trueind |
Set of variables with contribution. |
rank |
Rank of the input matrix, calculated with the function |
## Not run: x1=rnorm(100) x2=rnorm(100) x3=cbind(x1,x2,x1+x2) dec=decompbaseortho(x3) dec$nonind dec$trueind dec$rank ## End(Not run)