rsvd: Randomized Singular Value Decomposition

Computes low-rank matrix approximations for dimension reduction, data analysis, and compression. Randomized algorithms use random weighted combinations of the input to find a small subspace, then factorize the projected matrix. This can reduce the work when the requested rank is small relative to the matrix dimensions and the input has a useful low-rank approximation. Methods include singular value decomposition, principal component analysis, QB factorization, and interpolative and CUR decompositions. Robust principal component analysis separates a matrix into low-rank and entrywise sparse components. Selected routines support sparse matrices, including principal component analysis with implicit centering and scaling. Plotting functions display scores, loadings, and explained variance. See Erichson et al. (2019) <doi:10.18637/jss.v089.i11> for the algorithms and examples of their use.

Version: 2.0.0
Depends: R (≥ 4.4.0)
Imports: Matrix (≥ 1.7-0), methods
Suggests: ggplot2, testthat (≥ 3.0.0)
Published: 2026-11-02
DOI: 10.32614/CRAN.package.rsvd
Author: N. Benjamin Erichson [aut, cre]
Maintainer: N. Benjamin Erichson <erichson at icsi.berkeley.edu>
BugReports: https://github.com/erichson/rSVD/issues
License: GPL (≥ 3)
URL: https://github.com/erichson/rSVD
NeedsCompilation: no
Citation: rsvd citation info
Materials: README, NEWS
CRAN checks: rsvd results

Documentation:

Reference manual: rsvd.html , rsvd.pdf

Downloads:

Package source: rsvd_2.0.0.tar.gz
Windows binaries: r-devel: rsvd_1.0.6.zip, r-release: rsvd_1.0.6.zip, r-oldrel: rsvd_1.0.6.zip
macOS binaries: r-release (arm64): rsvd_2.0.0.tgz, r-oldrel (arm64): rsvd_2.0.0.tgz, r-release (x86_64): rsvd_2.0.0.tgz, r-oldrel (x86_64): rsvd_2.0.0.tgz
Old sources: rsvd archive

Reverse dependencies:

Reverse imports: ADImpute, BiocSingular, FPCdpca, harf, jackstraw, MUGS, nlpembeds, scRecover, slalom, sparsepca, SPECK, TCA, text2map, wordvector
Reverse suggests: eigencore, flashier, LSX, MAST, multivarious, scds, Seurat, stm

Linking:

Please use the canonical form https://CRAN.R-project.org/package=rsvd to link to this page.