This function automatically selects the fastest algorithm based on data dimensions.

rvcoef(X, Y)

Arguments

X

A numeric matrix (n observations, p variables).

Y

A numeric matrix (n observations, q variables).

Value

A single scalar value for the RV-coefficient.