regular_cca: Function to perform regular (low dimensional) canonical...

View source: R/alt_regular_CCA.R

regular_ccaR Documentation

Function to perform regular (low dimensional) canonical correlation analysis (CCA

Description

Function to perform regular (low dimensional) canonical correlation analysis (CCA

Usage

regular_cca(X, Y, rank)

Arguments

X

Matrix of predictors (n x p)

Y

Matrix of responses (n x q)

rank

Number of canonical components to extract

Value

A list with elements:

U

Canonical direction matrix for X (p x r)

V

Canonical direction matrix for Y (q x r)

cor

Canonical covariances


ccar3 documentation built on Sept. 16, 2025, 9:11 a.m.