Calculates a matrix with uncorrelated columns using the Gram-Schmidt process
gsorth(y, order, recenter = TRUE, rescale = TRUE, adjnames = TRUE)
a numeric matrix or data frame
if specified, a permutation of the column indices of y
logical; if TRUE
, the result has same means as the original y
, else means = 0 for cols 2:p
logical; if TRUE
, the result has same sd as original, else, sd = residual sd
logical; if TRUE
, colnames are adjusted to Y1, Y2.1, Y3.12, ...
a matrix/data frame with uncorrelated columns
This function, originally from the heplots package has now been deprecated in matlib. Use
GramSchmidt
instead.