process.X {SGPR} | R Documentation |
A function that checks the design matrix X for possible errors and scales it.
process.X(X, group)
X |
The design matrix without intercept with the variables to be selected. |
group |
A vector that specifies the group membership of each variable in X. |
A list containing:
The standardized design matrix X.
The variable names of the matrix.
The center of the variables before the transformation.
The scale of the variables before the transformation.