Additional computations for CCA
The comput()
function can be viewed as an internal function. It is called by cc()
and rcc
to perform additional computations. The user does not have to call it by himself.
latin1
comput(X, Y, res)
X
: numeric matrix (n * p), containing the X coordinates.Y
: numeric matrix (n * q), containing the Y coordinates.res
: results provided by the cc()
and rcc()
functions.A list containing the following components: - xscores: X canonical variates
yscores: Y canonical variates
corr.X.xscores: Correlation bewteen X and X canonical variates
corr.Y.xscores: Correlation bewteen Y and X canonical variates
corr.X.yscores: Correlation bewteen X and Y canonical variates
corr.Y.yscores: Correlation bewteen Y and Y canonical variates
Sébastien Déjean, Ignacio González
cc
, rcc
Useful links