Create a Latin hypercube from an orthogonal array
oa_to_oalhs(n, k, oa)
n | the number of samples or rows in the LHS (integer) |
---|---|
k | the number of parameters or columns in the LHS (integer) |
oa | the orthogonal array to be used as the basis for the LHS (matrix of integers) or data.frame of factors |
a numeric matrix which is a Latin hypercube sample