# NOT RUN {
#generate a 11 by 10 maximin distance LHD with default setting
try=LPWT(n=11,k=10)
try
phi_p(try[[1]]) #calculate the phi_p of "try".
#Another example
#generate a 13 by 12 maximin distance LHD with given h vector
try2=LPWT(n=13,k=12,h=1:12)
try2
phi_p(try2[[1]]) #calculate the phi_p of "try2".
# }
Run the code above in your browser using DataLab