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) and Wu, Tuzhilina and Donnat (2025) .


ccar3

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ccar3")

0.1.2 by Claire Donnat, 4 months ago


Browse source code at https://github.com/cran/ccar3


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


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports methods, magrittr, tidyr, dplyr, foreach, pracma, corpcor, matrixStats, RSpectra

Suggests codetools, SMUT, igraph, testthat, pkgload, rrpack, Matrix, glmnet, CCA, CVXR, PMA, doParallel, crayon


See at CRAN