Description Usage Arguments Value
This functions performs principle components analysis via SVD, using the irlba library. Note that it is not possible to center and scale a sparse matrix. Folding in the eigenvalues might help compensate for this.
1 | sparseprcomp(x, n = 5, retx = FALSE, fold_in_eigens = FALSE, ...)
|
x |
a sparse matrix |
n |
number of principle components to calculate |
retx |
whether to return the principle components of the input data |
fold_in_eigens |
whether to add the eigenvectors to the principle component rotations |
... |
arguments passed to irlbda |
a sparse.prcomp object, which inherits from prcomp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.