RV2Mat: RV2Mat Compute the RV coefficient between two matrices with...

View source: R/BlockProjections.R

RV2MatR Documentation

RV2Mat Compute the RV coefficient between two matrices with the same number of rows.

Description

RV2Mat Compute the RV coefficient between two matrices with the same number of rows. RV2Mat first computes the cross-product matrix. With X and Y matrices, RV is equal to <XX',YY'> /sqrt(<XX'*XX'>*<YY'*YY'>), with <> being the scalar product. RV works like a squared correlation coefficient.

Usage

RV2Mat(m1, m2)

Arguments

m1

an I*J matrix

m2

an I*K matrix

Value

rv The RV coefficient

Author(s)

Herve Abdi


HerveAbdi/PTCA4CATA documentation built on July 17, 2022, 5:41 a.m.