orthnormal {sSDR} | R Documentation |
Gram-Schmidt orthonormalization
orthnormal(X)
X |
a n x p matrix of n observations and p predictors. |
This function orthonormalizes any n x p matrix.
A n x p matrix of n observations and p predictors.
data <- gen.data(n=100)
x.orth <- orthnormal(data$X)