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" (2022) <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.

Getting started

Package details

AuthorRyan Cory-Wright [aut, cph] (ORCID: <https://orcid.org/0000-0002-4485-0619>), Jean Pauphilet [aut, cre, cph] (ORCID: <https://orcid.org/0000-0001-6352-0984>)
MaintainerJean Pauphilet <jpauphilet@london.edu>
LicenseMIT + file LICENSE
Version0.3.0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("msPCA")

Try the msPCA package in your browser

Any scripts or data that you put into this service are public.

msPCA documentation built on May 16, 2026, 1:08 a.m.