Package: nsprcomp
Authors@R: c( person("Christian", "Sigg", email =
"christian@sigg-iten.ch", role = c("aut", "cre"), comment =
c(ORCID = "0000-0003-1067-9224")), person("R Core team", role =
"ctb", comment = "prcomp interface, formula implementation and
documentation"))
Version: 0.5.1-2
Title: Non-Negative and Sparse PCA
Description: 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) for more
details.
URL: https://sigg-iten.ch/research/
BugReports: https://github.com/chrsigg/nsprcomp/issues
License: GPL (>=2)
Depends: R (>= 3.4.0)
Imports: stats
Suggests: MASS, testthat (>= 0.8), roxygen2
RoxygenNote: 6.0.1
Repository: https://chrsigg.r-universe.dev
Date/Publication: 2018-06-05 06:44:02 UTC
RemoteUrl: https://github.com/chrsigg/nsprcomp
RemoteRef: HEAD
RemoteSha: 036d20b2eb34f91348a0892aed0d9cc63c41a9c3
NeedsCompilation: no
Packaged: 2026-09-30 08:33:54 UTC; root
Author: Christian Sigg [aut, cre] (ORCID:
),
R Core team [ctb] (prcomp interface, formula implementation and
documentation)
Maintainer: Christian Sigg