Calculates Tucker's congruence coefficient (uncentered correlation) between x and y if these are vectors. If x and y are matrices then the congruence between the columns of x and y are computed.
congru(x, y =NULL)
Arguments
x: Numeric vector, matrix or data frame.
y: NULL (default) or a vector, matrix or data frame with compatible dimensions to x. The default is equivalent to y = x (but more efficient).
Returns
Returns a scalar or matrix with congruence coefficient(s).
References
Tucker, L.R. (1951). A method for synthesis of factor analysis studies (Personnel Research Section Report No. 984). Washington, DC: Department of the Army.