comput function

Additional computations for CCA

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)

Arguments

  • 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.

Returns

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

Author(s)

Sébastien Déjean, Ignacio González

See Also

cc, rcc

  • Maintainer: Sébastien Déjean
  • License: GPL (>= 2)
  • Last published: 2023-09-05

Useful links