powered by
Create an orthogonal array Latin hypercube
create_oalhs(n, k, bChooseLargerDesign, bverbose)
a numeric matrix which is an orthogonal array Latin hypercube sample
the number of samples or rows in the LHS (integer)
the number of parameters or columns in the LHS (integer)
should a larger oa design be chosen than the n and k requested?
should information be printed with execution
set.seed(34) A <- create_oalhs(9, 4, TRUE, FALSE) B <- create_oalhs(9, 4, TRUE, FALSE)
Run the code above in your browser using DataLab