pairwise_rv: Pairwise rv coefficient

View source: R/utils.R

pairwise_rvR Documentation

Pairwise rv coefficient

Description

Pairwise rv coefficient

Usage

pairwise_rv(matlist)

Arguments

matlist

list of matrices (or matrix-like; see rv function) for which to compute pairwise RV coefficients

Value

matrix of the pairwise coefficients

Examples

a <- matrix(sample(1:10,100,TRUE), nrow = 10)
b <- matrix(sample(1:10,50,TRUE), nrow = 5)
c <- matrix(sample(1:10,20,TRUE), nrow = 2)

matlist <- list(a,b,c)
pairwise_rv(matlist)
pairwise_rv(lapply(matlist, t))

laurenhsu1/corral documentation built on Feb. 19, 2023, 10:37 p.m.