RemoveSize | R Documentation |
Removes first principal component effect in a covariance matrix.
RemoveSize(cov.matrix)
cov.matrix |
Covariance matrix |
Function sets the first eigenvalue to zero.
Altered covariance matrix with no variation on former first principal component
Diogo Melo, Guilherme Garcia
cov.matrix <- RandomMatrix(10, 1, 1, 10)
no.size.cov.matrix <- RemoveSize(cov.matrix)
eigen(cov.matrix)
eigen(no.size.cov.matrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.