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.7)nipals_1.0.zip(r-4.6)nipals_1.0.zip(r-4.5)
nipals_1.0.tgz(r-4.6-any)nipals_1.0.tgz(r-4.5-any)
nipals_1.0.tar.gz(r-4.7-any)nipals_1.0.tar.gz(r-4.6-any)
nipals_1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
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/docs site:https://kwstat.github.io

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

On CRAN:

Conda:

7.73 score 7 stars 5 packages 60 scripts 4.2k downloads 3 exports 0 dependencies

Last updated from:b591ff1c37. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE105
source / vignettesOK154
linux-release-x86_64NOTE111
macos-release-arm64NOTE99
macos-oldrel-arm64NOTE119
windows-develNOTE79
windows-releaseNOTE81
windows-oldrelNOTE103
wasm-releaseOK91

Exports:avg_angular_distanceempcanipals

Dependencies:

Comparing results and performance of NIPALS functions in R

Rendered fromnipals_comparisons.Rmdusingknitr::rmarkdownon Jun 01 2026.

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

EMPCA notes

Rendered fromempca_notes.Rmdusingknitr::rmarkdownon Jun 01 2026.

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

The NIPALS algorithm

Rendered fromnipals_algorithm.Rmdusingknitr::rmarkdownon Jun 01 2026.

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

NIPALS optimization notes

Rendered fromnipals_optimization.Rmdusingknitr::rmarkdownon Jun 01 2026.

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