predict.sparseprcomp: Fast PCA using the irlba library for SVD

Description Usage Arguments Value

Description

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.

Usage

1
2
## S3 method for class 'sparseprcomp'
predict(object, newdata, ...)

Arguments

object

a sparse.prcomp object

newdata

a sparse matrix of new data

...

ignored

Value

a sparse matrix


zachmayer/r2vec documentation built on May 4, 2019, 9:05 p.m.