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.
comput(X, Y, res)
numeric matrix (n * p), containing the X coordinates.
numeric matrix (n * q), containing the Y coordinates.
results provided by the cc()
and rcc()
functions.
A list containing the following components:
X canonical variates
Y canonical variates
Correlation bewteen X and X canonical variates
Correlation bewteen Y and X canonical variates
Correlation bewteen X and Y canonical variates
Correlation bewteen Y and Y canonical variates