sparsepca
Sparse Principal Component Analysis (SPCA)
Description
Sparse principal component analysis (SPCA) attempts to find sparse weight vectors (loadings), i.e., a weight vector with only a few 'active' (nonzero) values. This approach provides better interpretability for the principal components in high-dimensional data settings. This is, because the principal components are formed as a linear combination of only a few of the original variables. This package provides efficient routines to compute SPCA. Specifically, a variable projection solver is used to compute the sparse solution. In addition, a fast randomized accelerated SPCA routine and a robust SPCA routine is provided. Robust SPCA allows to capture grossly corrupted entries in the data. The methods are discussed in detail by N. Benjamin Erichson et al. (2018) <arXiv:1804.00341>.
Downloads
3.1K
Last 30 days
2202nd
3.1K
Last 90 days
3.1K
Last year
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | NOTE |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (14 non-OK)
CRAN incoming feasibility
Maintainer: ‘N. Benjamin Erichson <erichson@uw.edu>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = c("N.", "Benjamin"),
family = "Erichson",
role = c("aut", "cre"),
email = "erichson@uw.edu"),
person(given = "Peng",
family = "Zheng",
role = "aut"),
person(given = "Sasha",
family = "Aravkin",
role = "aut"))
as necessary.
The Description field contains
Erichson et al. (2018) <arXiv:1804.00341>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
CRAN incoming feasibility
Maintainer: ‘N. Benjamin Erichson <erichson@uw.edu>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = c("N.", "Benjamin"),
family = "Erichson",
role = c("aut", "cre"),
email = "erichson@uw.edu"),
person(given = "Peng",
family = "Zheng",
role = "aut"),
person(given = "Sasha",
family = "Aravkin",
role = "aut"))
as necessary.
The Description field contains
Erichson et al. (2018) <arXiv:1804.00341>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
*
*
*
*
LazyData
'LazyData' is specified without a 'data' directory
LazyData
'LazyData' is specified without a 'data' directory
LazyData
'LazyData' is specified without a 'data' directory
*
*
*
*
*
Check History
NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
CRAN incoming feasibility
Maintainer: ‘N. Benjamin Erichson <erichson@uw.edu>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = c("N.", "Benjamin"),
family = "Erichson",
role = c("aut", "cre"),
email = "erichson@uw.edu"),
person(given = "Peng",
family = "Zheng",
role = "aut"),
person(given = "Sasha",
family = "Aravkin",
CRAN incoming feasibility
Maintainer: ‘N. Benjamin Erichson <erichson@uw.edu>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = c("N.", "Benjamin"),
family = "Erichson",
role = c("aut", "cre"),
email = "erichson@uw.edu"),
person(given = "Peng",
family = "Zheng",
role = "aut"),
person(given = "Sasha",
family = "Aravkin",
LazyData
'LazyData' is specified without a 'data' directory
LazyData
'LazyData' is specified without a 'data' directory
LazyData
'LazyData' is specified without a 'data' directory