Package: nipals 1.0

nipals: Principal Components Analysis using NIPALS or Weighted EMPCA, with Gram-Schmidt Orthogonalization

Principal Components Analysis of a matrix using Non-linear Iterative Partial Least Squares or weighted Expectation Maximization PCA with Gram-Schmidt orthogonalization of the scores and loadings. Optimized for speed. See Andrecut (2009) <doi:10.1089/cmb.2008.0221>.

Authors:Kevin Wright [aut, cre, cph]

nipals_1.0.tar.gz
nipals_1.0.zip(r-4.5)nipals_1.0.zip(r-4.4)nipals_1.0.zip(r-4.3)
nipals_1.0.tgz(r-4.5-any)nipals_1.0.tgz(r-4.4-any)nipals_1.0.tgz(r-4.3-any)
nipals_1.0.tar.gz(r-4.5-noble)nipals_1.0.tar.gz(r-4.4-noble)
nipals_1.0.tgz(r-4.4-emscripten)nipals_1.0.tgz(r-4.3-emscripten)
nipals.pdf |nipals.html
nipals/json (API)
NEWS

# Install 'nipals' in R:
install.packages('nipals', repos = c('https://kwstat.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/kwstat/nipals/issues

Pkgdown site:https://kwstat.github.io

Datasets:
  • uscrime - U.S. Crime rates per 100,00 people

On CRAN:

Conda:

7.23 score 7 stars 5 packages 40 scripts 760 downloads 3 exports 0 dependencies

Last updated 4 months agofrom:2b8ac77b5f. Checks:1 OK, 8 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKApr 01 2025
R-4.5-winNOTEApr 01 2025
R-4.5-macNOTEApr 01 2025
R-4.5-linuxNOTEApr 01 2025
R-4.4-winNOTEApr 01 2025
R-4.4-macNOTEApr 01 2025
R-4.4-linuxNOTEApr 01 2025
R-4.3-winNOTEApr 01 2025
R-4.3-macNOTEApr 01 2025

Exports:avg_angular_distanceempcanipals

Dependencies:

Comparing results and performance of NIPALS functions in R

Rendered fromnipals_comparisons.Rmdusingknitr::rmarkdownon Apr 01 2025.

Last update: 2024-12-02
Started: 2017-10-30

EMPCA notes

Rendered fromempca_notes.Rmdusingknitr::rmarkdownon Apr 01 2025.

Last update: 2024-12-02
Started: 2020-01-20

The NIPALS algorithm

Rendered fromnipals_algorithm.Rmdusingknitr::rmarkdownon Apr 01 2025.

Last update: 2024-12-02
Started: 2017-10-31

NIPALS optimization notes

Rendered fromnipals_optimization.Rmdusingknitr::rmarkdownon Apr 01 2025.

Last update: 2024-01-26
Started: 2017-10-31