pairwise_rv: Pairwise rv coefficient

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Pairwise rv coefficient

Usage

1
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

1
2
3
4
5
6
7
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))

corral documentation built on Nov. 8, 2020, 8:25 p.m.