rv.cor.matrix: A correlation matrix of RV coefficients

Description Usage Arguments Value Examples

Description

Given a list of n configuration matrices (corresponding to n datasets), this function computes an n x n matrix of pairwise RV coefficients.

Usage

1
rv.cor.matrix(config_matrices)

Arguments

config_matrices

The result from compute.config.matrices().

Value

An n x n matrix of pairwise RV coefficients, where n is the number of datasets.

Examples

1
2
3
4
5
6
7
8
9
set.seed(2)
n = 100
p = 100
x1 = matrix(rnorm(n*p), n, p)
x2 = x1 + matrix(rnorm(n*p), n, p)
x3 = x2 + matrix(rnorm(n*p), n, p)
data = list(x1=x1, x2=x2, x3=x3)
config_matrices = compute.config.matrices(data)
cors = rv.cor.matrix(config_matrices)

iTOP documentation built on May 2, 2019, 3:44 a.m.