Package: spca 1.1.1
spca: Least Squares Sparse Principal Components Analysis
Implements least-squares sparse principal component analysis (LS-SPCA). The approach follows Merola (2015) <doi:10.1111/anzs.12128> and Merola and Chen (2019) <doi:10.1016/j.jmva.2019.04.001>.
Authors:
spca_1.1.1.tar.gz
spca_1.1.1.zip(r-4.7)spca_1.1.1.zip(r-4.6)spca_1.1.1.zip(r-4.5)
spca_1.1.1.tgz(r-4.6-x86_64)spca_1.1.1.tgz(r-4.6-arm64)spca_1.1.1.tgz(r-4.5-x86_64)spca_1.1.1.tgz(r-4.5-arm64)
spca_1.1.1.tar.gz(r-4.7-arm64)spca_1.1.1.tar.gz(r-4.7-x86_64)spca_1.1.1.tar.gz(r-4.6-arm64)spca_1.1.1.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
spca/json (API)
| # Install 'spca' in R: |
| install.packages('spca', repos = c('https://merolagio.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/merolagio/spca/issues
- holzinger - Holzinger-Swineford Student Ability data
- holzinger_scales - Holzinger-Swineford Student Ability scales
Last updated from:5f0f2aa47d. Checks:12 OK, 1 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 264 | ||
| linux-devel-x86_64 | OK | 302 | ||
| source / vignettes | OK | 406 | ||
| linux-release-arm64 | OK | 239 | ||
| linux-release-x86_64 | OK | 257 | ||
| macos-release-arm64 | OK | 192 | ||
| macos-release-x86_64 | OK | 426 | ||
| macos-oldrel-arm64 | OK | 196 | ||
| macos-oldrel-x86_64 | OK | 416 | ||
| windows-devel | OK | 274 | ||
| windows-release | OK | 263 | ||
| windows-oldrel | OK | 259 | ||
| wasm-release | FAIL | 127 |
Exports:aggregate_by_groupchange_loadings_sign_spcacompare_spcais.spcanew_spcapcashow_contributions_spcaspcaspca_screeplotwachter_qqplot
Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerRcppRcppEigenrlangRMTstatS7scalesvctrsviridisLitewithr
Last update: 2026-07-06
Started: 2026-05-30
Last update: 2026-07-03
Started: 2026-06-22
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Least Squares Sparse Principal Components Analysis | spca-package |
| Aggregate loadings or contributions by group | aggregate_by_group |
| Change the sign of selected loadings in an spca object | change_loadings_sign_spca |
| Compare two or more spca solutions | compare_spca |
| Holzinger-Swineford Student Ability data | holzinger |
| Holzinger-Swineford Student Ability scales | holzinger_scales |
| Test for spca objects | is.spca |
| Construct an spca object from a set of loadings | new_spca |
| Compute principal components | pca |
| Plot an spca object | plot.spca |
| Print an spca object | print.spca |
| Show nonzero contributions by component | show_contributions_spca |
| Compute LS-SPCA components | spca |
| Sparse principal component analysis object | spca_object |
| Plot eigenvalues in a scree plot | spca_screeplot |
| Summarize an spca object | summary.spca |
| Wachter QQ plot for eigenvalues | wachter_qqplot |
