safe_row_l2_normalize | R Documentation |
Helper function for Kaiser normalization to handle rows with zero (or
numerically zero) norm, which results in a divide by zero error
in the stats::varimax()
implementation.
safe_row_l2_normalize(x, eps = 1e-10)
x |
A matrix to row normalize. |
eps |
Tolerance to use when assessing if squared L2 row norm is numerically larger or smaller than zero. |
The row-rescaled matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.