Package: ccar3 0.1.1

Claire Donnat

ccar3: Canonical Correlation Analysis via Reduced Rank Regression

Canonical correlation analysis (CCA) via reduced-rank regression with support for regularization and cross-validation. Several methods for estimating CCA in high-dimensional settings are implemented. The first set of methods, cca_rrr() (and variants: cca_group_rrr() and cca_graph_rrr()), assumes that one dataset is high-dimensional and the other is low-dimensional, while the second, ecca() (for Efficient CCA) assumes that both datasets are high-dimensional. For both methods, standard l1 regularization as well as group-lasso regularization are available. cca_graph_rrr further supports total variation regularization when there is a known graph structure among the variables of the high-dimensional dataset. In this case, the loadings of the canonical directions of the high-dimensional dataset are assumed to be smooth on the graph. For more details see Donnat and Tuzhilina (2024) <doi:10.48550/arXiv.2405.19539> and Wu, Tuzhilina and Donnat (2025) <doi:10.48550/arXiv.2507.11160>.

Authors:Claire Donnat [aut, cre], Elena Tuzhilina [aut], Zixuan Wu [aut]

ccar3_0.1.1.tar.gz
ccar3_0.1.1.tar.gz(r-4.7-any)ccar3_0.1.1.tar.gz(r-4.6-any)
ccar3_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
ccar3/json (API)

# Install 'ccar3' in R:
install.packages('ccar3', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.00 score 10 scripts 193 downloads 20 exports 31 dependencies

Last updated from:3d815436ea. Checks:4 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK193
source / vignettesOK197
linux-release-x86_64OK205
wasm-releaseOK121

Exports:cca_graph_rrrcca_graph_rrr_cvcca_group_rrrcca_group_rrr_cvcca_rrrcca_rrr_cveccaecca.cvFPRget_edge_incidenceprincipal_anglesregular_ccaSCCA_ParkhomenkosinThetasparse_CCA_benchmarksSparseCCAsubdistanceTNRTPRWitten.CV

Dependencies:clicodetoolscorpcorcpp11dplyrforeachgenericsglueiteratorslatticelifecyclemagrittrMatrixmatrixStatspillarpkgconfigpracmapurrrR6RcppRcppEigenrlangRSpectrastringistringrtibbletidyrtidyselectutf8vctrswithr

Readme and manuals

Help Manual

Help pageTopics
Graph-regularized Reduced-Rank Regression for Canonical Correlation Analysiscca_graph_rrr
Graph-regularized Reduced-Rank Regression for Canonical Correlation Analysis with cross validationcca_graph_rrr_cv
Group-Sparse Canonical Correlation via Reduced-Rank Regressioncca_group_rrr
Group-Sparse Canonical Correlation via Reduced-Rank Regression with CVcca_group_rrr_cv
Canonical Correlation Analysis via Reduced Rank Regression (RRR)cca_rrr
Cross-validated Canonical Correlation Analysis via RRRcca_rrr_cv
Efficient CCA for Two High-Dimensional Viewsecca
Cross-Validated Efficient CCAecca.cv
False Positive Rate (TPR)FPR
Return the edge incidence matrix of an igraph graphget_edge_incidence
Metrics for subspacesprincipal_angles
Function to perform regular (low dimensional) canonical correlation analysis (CCAregular_cca
Function to perform Sparse CCA based on Waaijenborg et al. (2008) REFERENCE Parkhomenko et al. (2009), "Sparse Canonical Correlation Anlaysis with Application to Genomic Data Integration" in Statistical Applications in Genetics and Molecular Biology, Volume 8, Issue 1, Article 1SCCA_Parkhomenko
SinTheta distance between subspacessinTheta
Additional Benchmarks for Sparse CCA Methodssparse_CCA_benchmarks
Function to perform Sparse CCA based on Wilms and Croux (2018) REFERENCE Wilms, I., & Croux, C. (2018). Sparse canonical correlation analysis using alternating regressions. Journal of Computational and Graphical Statistics, 27(1), 1-10.SparseCCA
Subdistance between subspacessubdistance
True Negative Rate (TNR)TNR
True Positive Rate (TPR)TPR
Sparse CCA by Witten and Tibshirani (2009)Witten.CV