CRAN/E | nsprcomp

nsprcomp

Non-Negative and Sparse PCA

Installation

About

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 and Sigg et al. (2008) doi:10.1145/1390156.1390277 for more details.

Citation nsprcomp citation info
sigg-iten.ch/research/
Bug report File report

Key Metrics

Version 0.5.1-2
R ≥ 3.4.0
Published 2018-06-05 2155 days ago
Needs compilation? no
License GPL-2
License GPL-3
CRAN checks nsprcomp results

Downloads

Yesterday 12 0%
Last 7 days 105 +13%
Last 30 days 360 -29%
Last 90 days 1.123 -12%
Last 365 days 4.494 -17%

Maintainer

Maintainer

Christian Sigg

christian@sigg-iten.ch

Authors

Christian Sigg

aut / cre

R Core team

ctb

(prcomp interface, formula implementation and documentation)

Material

README
Reference manual
Package source

In Views

Psychometrics

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

nsprcomp archive

Depends

R ≥ 3.4.0

Imports

stats

Suggests

MASS
testthat ≥ 0.8
roxygen2

Reverse Imports

BioMM
GWnnegPCA