View source: R/Preliminary_Functions.R
DoubleStandardize | R Documentation |
Function that double standardizes a matrix
DoubleStandardize(X, tol = .Machine$double.eps^0.5, maxIter = 500)
X |
Original matrix to be double-standardized |
tol |
Tolerance. Default is square root of machine precision |
maxIter |
Maximum iteration. Default is 500 |
After double standardization, the matrix will have mean zero and (population) variance one for each row and column.
A list that contains:
Result |
The matrix after double standardization. |
Iter |
Number of iterations the function runs. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.