arxivstat.MLcs.LGstat.ME2026-07-06
msPCA: An R Package for Sparse PCA with Multiple Components
Ryan Cory-Wright, Jean Pauphilet
We present msPCA: an open-source R package for sparse principal component analysis with multiple components. It implements an alternating maximization algorithm to generate a set of sparse loading vectors that collectively explain a large fraction of the variance in a dataset, wh…