AvgAbsCor {LHD} | R Documentation |
Calculate the Average Absolute Correlation
Description
AvgAbsCor
returns the average absolute correlation of a matrix
Usage
AvgAbsCor(X)
Arguments
X |
A matrix object. In general, |
Value
If all inputs are logical, then the output will be a positive number indicating the average absolute correlation of input matrix.
average absolute correlation = \frac{2 \sum_{i=1}^{k-1} \sum_{j=i+1}^{k}|q_{ij}|}{k(k-1)}
References
Georgiou, S. D. (2009) Orthogonal Latin hypercube designs from generalized orthogonal designs. Journal of Statistical Planning and Inference, 139, 1530-1540.
Examples
#create a toy LHD with 5 rows and 3 columns
toy=rLHD(n=5,k=3);toy
#Calculate the average absolute correlation of toy
AvgAbsCor(X=toy)
[Package LHD version 1.3.3 Index]