Exploratory Principal Component Analysis

Exploratory principal component analysis for large-scale dataset, including sparse principal component analysis and sparse matrix approximation.


Exploratory Principal Component Analysis

lifecycle

epca is an R package for comprehending any data matrix that contains low-rank and sparse underlying signals of interest. The package currently features two key tools:

  • sca for sparse principal component analysis.
  • sma for sparse matrix approximation, a two-way data analysis for simultaneously row and column dimensionality reductions.

Installation

You can install the released version of epca from CRAN with:

install.packages("epca")

or the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("fchen365/epca")

Example

The usage of sca and sma is straightforward. For example, to find k sparse PCs of a data matrix X:

sca(X, k)

Similarly, we can find a rank-k sparse matrix decomposition by

sma(X, k)

For more examples, please see the vignette:

vignette("epca")

Getting help

If you encounter a clear bug, please file an issue with a minimal reproducible example on GitHub.

Reference

Chen F and Rohe K, “A New Basis for Sparse PCA.” (arXiv)

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("epca")

1.1.0 by Fan Chen, 3 years ago


https://github.com/fchen365/epca


Report a bug at https://github.com/fchen365/epca/issues


Browse source code at https://github.com/cran/epca


Authors: Fan Chen [aut, cre]


Documentation:   PDF Manual  


GPL-3 license


Imports clue, irlba, Matrix, GPArotation

Suggests elasticnet, ggcorrplot, tidyverse, rmarkdown, reshape2, markdown, RSpectra, matlabr, knitr, PMA, testthat


Suggested by gdim.


See at CRAN