rv.coef: Calculate RV Coefficient

View source: R/cata.R

rv.coefR Documentation

Calculate RV Coefficient

Description

Calculate RV coefficient

Usage

rv.coef(X, Y, method = 1)

Arguments

X

input matrix (same dimensions as Y)

Y

input matrix (same dimensions as X)

method

1 (default) and 2 give identical RV coefficients

Value

RV coefficient

Author(s)

J.C. Castura

References

Robert, P., & Escoufier, Y. (1976). A unifying tool for linear multivariate statistical methods: the RV-coefficient. Journal of the Royal Statistical Society: Series C (Applied Statistics), 25, 257-265. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.2307/2347233")}

Examples

# Generate some data
set.seed(123)
X <- matrix(rnorm(8), nrow = 4)
Y <- matrix(rnorm(8), nrow = 4)

# get the RV coefficient
rv.coef(X, Y)

cata documentation built on April 4, 2025, 5:17 a.m.

Related to rv.coef in cata...