| whiten | R Documentation | 
Whitens the input matrix using SVD and returns the result.
whiten(x, k = NULL, reducex = FALSE)
| x | input matrix | 
| k | rank to use | 
| reducex | reduce the input matrix to k-size subspace | 
matrix is output
Avants BB
mat <- matrix(rnorm(300), ncol = 50)
wmat <- whiten(mat)
wmat2 <- whiten(mat, 2, TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.