Learn R Programming

LHD (version 1.4.1)

MaxAbsCor: Calculate the Maximum Absolute Correlation

Description

MaxAbsCor returns the maximum absolute correlation of a matrix

Usage

MaxAbsCor(X)

Value

If all inputs are logical, then the output will be a positive number indicating maximum absolute correlation. maximum absolute correlation = max_{ij} |q_{ij}|

Arguments

X

A matrix object. In general, X stands for the design matrix.

References

Georgiou, S. D. (2009) Orthogonal Latin hypercube designs from generalized orthogonal designs. Journal of Statistical Planning and Inference, 139, 1530-1540.

Examples

Run this code
#create a toy LHD with 5 rows and 3 columns
toy=rLHD(n=5,k=3);toy

#Calculate the maximum absolute correlation of toy
MaxAbsCor(X=toy)

Run the code above in your browser using DataLab