Conduct the canonical correlation anlaysis between two sets of variables.
Usage
cca(A, B)
Arguments
A
The input data matrix of the first set of the variables. Each row of A represents the observations of a single individual. Each column of A represents the variables.
B
The input data matrix of the second set of the variables. Each row of B represents the observations of a single individual. Each column of B represents the variables.
Value
The output is a list.
rho
a numeric vector of canonical correlation coefficients