nsprcomp: Non-Negative and Sparse PCA

This package implements 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'.

Author
Christian Sigg [aut, cre], R Core team [aut]
Date of publication
2014-07-17 23:54:11
Maintainer
Christian Sigg <christian@sigg-iten.ch>
License
GPL (>= 2)
Version
0.5
URLs

View on CRAN

Man pages

asdev
Additional Explained Standard Deviation
cardinality
Cardinality of Column Vectors
nscumcomp
Non-Negative and Sparse Cumulative PCA
nsprcomp
Non-Negative and Sparse PCA
peav
Percentage Explained Additional Variance

Files in this package

nsprcomp
nsprcomp/inst
nsprcomp/inst/CITATION
nsprcomp/inst/nsprcomp_examples.R
nsprcomp/inst/nscumcomp_examples.R
nsprcomp/tests
nsprcomp/tests/run-all.R
nsprcomp/tests/testthat
nsprcomp/tests/testthat/test_nscumcomp_nspca.R
nsprcomp/tests/testthat/test_nscumcomp_formula.R
nsprcomp/tests/testthat/test_peav.R
nsprcomp/tests/testthat/test_nscumcomp_spca.R
nsprcomp/tests/testthat/test_nscumcomp_pca.R
nsprcomp/tests/testthat/test_nsprcomp_spca.R
nsprcomp/tests/testthat/test_nsprcomp_formula.R
nsprcomp/tests/testthat/test_nsprcomp_nspca.R
nsprcomp/tests/testthat/test_nsprcomp_pca.R
nsprcomp/tests/testthat/test_cardinality.R
nsprcomp/tests/testthat/test_asdev.R
nsprcomp/NAMESPACE
nsprcomp/R
nsprcomp/R/nsprcomp.R
nsprcomp/R/asdev.R
nsprcomp/R/cardinality.R
nsprcomp/R/peav.R
nsprcomp/R/nscumcomp.R
nsprcomp/R/nsprcomp-package.R
nsprcomp/R/normv.R
nsprcomp/README.md
nsprcomp/MD5
nsprcomp/DESCRIPTION
nsprcomp/man
nsprcomp/man/cardinality.Rd
nsprcomp/man/nsprcomp.Rd
nsprcomp/man/asdev.Rd
nsprcomp/man/nscumcomp.Rd
nsprcomp/man/peav.Rd