

_C_a_n_o_n_i_c_a_l _C_o_r_r_e_l_a_t_i_o_n_s

     cancor(x, y, xcenter=TRUE, ycenter=TRUE)

_A_r_g_u_m_e_n_t_s:

       x: a matrix containing the x coordinates.

       y: a matrix containing the y coordinates.

 xcenter: a parameter describing any centering to be done on
          the x values before the analysis.  The default is
          substract the column means, but it is possible to
          supply a vector of values to be subtracted from
          the columns. It is possible to turn off any
          adjustment.

 ycenter: like the parameter `xcenter', but for the y
          values.

_D_e_s_c_r_i_p_t_i_o_n:

     This function performs a canonical correlation analysis
     for the given data.  The analysis seeks linear combina-
     tions of the y variables which are well explained by
     linear combinations of the x variables.

_V_a_l_u_e:

     A list containing the following components:

   xcoef: estimated coefficients for the x variables.

   ycoef: estimated coefficients for the y variables.

 xcenter: the values used to adjust the x variables.

 ycenter: the values used to adjust the x variables.

_R_e_f_e_r_e_n_c_e_s:

     Hotelling H. (1936).  ``Relations between two sets of
     variables''.  Biometrika, 28, 321-327.

     Seber, G. A. F. (1984).  Multivariate Analysis. New
     York: Wiley.

_S_e_e _A_l_s_o:

     `qr', `svd'.

_E_x_a_m_p_l_e_s:

     soil <- evap.x[,1:3]
     air <- evap.x[,-(1:3)]
     airsoil <- cancor(air, soil)

