Package: nsprcomp 0.5.1-2

nsprcomp: Non-Negative and Sparse PCA

Two methods for performing a constrained principal component analysis (PCA), where non-negativity and/or sparsity constraints are enforced on the principal axes (PAs). The function 'nsprcomp' computes one principal component (PC) after the other. Each PA is optimized such that the corresponding PC has maximum additional variance not explained by the previous components. In contrast, the function 'nscumcomp' jointly computes all PCs such that the cumulative variance is maximal. Both functions have the same interface as the 'prcomp' function from the 'stats' package (plus some extra parameters), and both return the result of the analysis as an object of class 'nsprcomp', which inherits from 'prcomp'. See <https://sigg-iten.ch/learningbits/2013/05/27/nsprcomp-is-on-cran/> and Sigg et al. (2008) <doi:10.1145/1390156.1390277> for more details.

Authors:Christian Sigg [aut, cre], R Core team [ctb]

nsprcomp_0.5.1-2.tar.gz
nsprcomp_0.5.1-2.zip(r-4.7)nsprcomp_0.5.1-2.zip(r-4.6)nsprcomp_0.5.1-2.zip(r-4.5)
nsprcomp_0.5.1-2.tgz(r-4.6-any)nsprcomp_0.5.1-2.tgz(r-4.5-any)
nsprcomp_0.5.1-2.tar.gz(r-4.7-any)nsprcomp_0.5.1-2.tar.gz(r-4.6-any)
nsprcomp_0.5.1-2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
nsprcomp/json (API)

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

Bug tracker:https://github.com/chrsigg/nsprcomp/issues

On CRAN:

Conda:

4.88 score 9 stars 1 packages 28 scripts 406 downloads 2 mentions 5 exports 0 dependencies

Last updated from:036d20b2eb. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK111
source / vignettesOK134
linux-release-x86_64OK113
macos-release-arm64OK131
macos-oldrel-arm64OK136
windows-develOK75
windows-releaseOK75
windows-oldrelOK60
wasm-releaseOK94

Exports:asdevcardinalitynscumcompnsprcomppeav

Dependencies: