Library: | xplore |
See also: | cov var |
Macro: | corr | |
Description: | Computes the correlation (Bravais-Pearson) structure of a given array. |
Usage: | r = corr (x) | |
Input: | ||
x | array | |
Output: | ||
r | consists of covariance matrices of x |
library("xplore") randomize (0) x = normal (200, 2, 3) corr (x)
Contents of r [,,1,1,1,1,1,1] [1,] 1 0.031623 [2,] 0.031623 1 [,,2,1,1,1,1,1] [1,] 1 0.011621 [2,] 0.011621 1 [,,3,1,1,1,1,1] [1,] 1 0.13138 [2,] 0.13138 1
Library: | xplore |
See also: | cov var |