Description Usage Arguments Value References
To calculate the Total Variance Explained by the new normalized loadings NB. The loadings of the ordinary principal components are uncorrelated and orthogonal, where the orthogonal property, and the uncorrelated property are satisfied together.
1 | total_variance_explained(x, NB)
|
x |
the data matrix by n\times p. It should not be the sample covariance matrix, nor the correlation matrix. |
NB |
normalized matrix of loading vectors |
a list of c(pev_svd, pev_tr, pev_spca, cum_svd, cum_tr, cum_spca)
.
Zou, Hui, Trevor Hastie, and Robert Tibshirani. "Sparse principal component analysis." Journal of computational and graphical statistics 15.2 (2006): 265-286.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.