Description Usage Arguments Value Examples
Computes the RV coefficient between dataset 1 and dataset 2. You'll typically won't need to call this function directly, but should use rv.cor.matrix() instead, as it will make determining partial RV coefficients, p-values and confidence intervals easier later on.
1 | rv.coef(S1, S2)
|
S1 |
Configuration matrix corresponding to dataset 1 |
S2 |
Configuration matrix corresponding to dataset 2 |
The RV coefficient between dataset 1 and dataset 2
1 2 3 4 5 6 7 8 | set.seed(2)
n = 100
p = 100
x1 = matrix(rnorm(n*p), n, p)
x2 = x1 + matrix(rnorm(n*p), n, p)
S1 = compute.config.matrix(x1)
S2 = compute.config.matrix(x1)
rv.coef(S1, S2)
|
[,1]
[1,] 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.