| .constraint_col_scales | R Documentation |
Returns multiplicative column scales that normalize nonzero columns to unit Euclidean norm. This preserves column spaces and projections while improving numerical conditioning for QR / OLS steps.
.constraint_col_scales(X, eps = sqrt(.Machine$double.eps))
X |
Numeric matrix. |
eps |
Small positive threshold below which a column is treated as numerically zero. |
Numeric vector of length ncol(X) containing multiplicative
scales.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.