# NOT RUN {
#generate a 5 by 3 maximin distance LHD with the default setting
try=GA(n=5,k=3)
try
phi_p(try) #calculate the phi_p of "try".
#Another example
#generate a 8 by 4 nearly orthogonal LHD
try2=GA(n=8,k=4,OC="AvgAbsCor")
try2
AvgAbsCor(try2) #calculate the average absolute correlation.
# }
Run the code above in your browser using DataLab