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
|Author||Christian Sigg [aut, cre] (<https://orcid.org/0000-0003-1067-9224>), R Core team [ctb] (prcomp interface, formula implementation and documentation)|
|Date of publication||2018-06-05 11:48:17 UTC|
|Maintainer||Christian Sigg <[email protected]>|
|License||GPL (>= 2)|
|Package repository||View on CRAN|
Install the latest version of this package by entering the following in R:
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.