Package: msPCA 0.4.1

Jean Pauphilet

msPCA: Sparse Principal Component Analysis with Multiple Principal Components

Implements an algorithm for computing multiple sparse principal components of a dataset. The method is based on Cory-Wright and Pauphilet "Sparse PCA with Multiple Principal Components" (2026) <doi:10.48550/arXiv.2209.14790>. The algorithm uses an iterative deflation heuristic with a truncated power method applied at each iteration to compute sparse principal components with controlled sparsity.

Authors:Ryan Cory-Wright [aut, cph], Jean Pauphilet [aut, cre, cph]

msPCA_0.4.1.tar.gz
msPCA_0.4.1.tar.gz(r-4.7-arm64)msPCA_0.4.1.tar.gz(r-4.7-x86_64)msPCA_0.4.1.tar.gz(r-4.6-arm64)msPCA_0.4.1.tar.gz(r-4.6-x86_64)
msPCA_0.4.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
msPCA/json (API)
NEWS

# Install 'msPCA' in R:
install.packages('msPCA', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

cpp

3.40 score 6 scripts 547 downloads 6 exports 2 dependencies

Last updated from:1835faef26. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK134
linux-devel-x86_64OK105
source / vignettesOK245
linux-release-arm64OK126
linux-release-x86_64OK126
wasm-releaseOK131

Exports:feasibility_violation_offfraction_variance_explainedfraction_variance_explained_perPCmspcaprint_mspcatpm

Dependencies:RcppRcppEigen

Worked Example: msPCA on mtcars

Rendered frommsPCA.Rmdusingknitr::rmarkdownon Jun 12 2026.

Last update: 2026-06-12
Started: 2026-06-12

Readme and manuals

Help Manual

Help pageTopics
Feasibility Violationfeasibility_violation_off
Fraction of Variance Explainedfraction_variance_explained
Fraction of Variance Explained per PCfraction_variance_explained_perPC
Multiple Sparse PCAmspca
Print msPCA Outputprint_mspca
Truncated Power Methodtpm
Variance Explained per PCvariance_explained_perPC