Crandore Hub

nscancor

Non-Negative and Sparse CCA

Two implementations of canonical correlation analysis (CCA) that are based on iterated regression. By choosing the appropriate regression algorithm for each data domain, it is possible to enforce sparsity, non-negativity or other kinds of constraints on the projection vectors. Multiple canonical variables are computed sequentially using a generalized deflation scheme, where the additional correlation not explained by previous variables is maximized. nscancor() is used to analyze paired data from two domains, and has the same interface as cancor() from the 'stats' package (plus some extra parameters). mcancor() is appropriate for analyzing data from three or more domains. See <https://sigg-iten.ch/learningbits/2014/01/20/canonical-correlation-analysis-under-constraints/> and Sigg et al. (2007) <doi:10.1109/MLSP.2007.4414315> for more details.

Versions across snapshots

VersionRepositoryFileSize
0.7.0-6 rolling linux/jammy R-4.5 nscancor_0.7.0-6.tar.gz 58.2 KiB
0.7.0-6 rolling linux/noble R-4.5 nscancor_0.7.0-6.tar.gz 58.1 KiB
0.7.0-6 rolling source/ R- nscancor_0.7.0-6.tar.gz 16.9 KiB
0.7.0-6 latest linux/jammy R-4.5 nscancor_0.7.0-6.tar.gz 58.2 KiB
0.7.0-6 latest linux/noble R-4.5 nscancor_0.7.0-6.tar.gz 58.1 KiB
0.7.0-6 latest source/ R- nscancor_0.7.0-6.tar.gz 16.9 KiB
0.7.0-6 2026-04-26 source/ R- nscancor_0.7.0-6.tar.gz 16.9 KiB
0.7.0-6 2026-04-23 source/ R- nscancor_0.7.0-6.tar.gz 16.9 KiB
0.7.0-6 2026-04-09 windows/windows R-4.5 nscancor_0.7.0-6.zip 61.7 KiB
0.7.0-6 2025-04-20 source/ R- nscancor_0.7.0-6.tar.gz 16.9 KiB

Dependencies (latest)

Imports

Suggests