multiDimLHS {qle} | R Documentation |
The function generates or augments a multidimensional design in a hyperbox.
multiDimLHS(N, lb, ub, method = c("randomLHS", "maximinLHS", "augmentLHS"), X = NULL, type = c("list", "matrix"))
N |
number of points to randomly select or augment an existing sample set |
lb |
lower bounds defining the (hyper)box of the parameter search space |
ub |
upper bounds defining the (hyper)box of the parameter search space |
method |
type of sampling, ' |
X |
optional, matrix of existing sample points, |
type |
either " |
Either return a list or matrix of sampled vectors or newly generated points if an existing sample set was to be augmented.
M. Baaske
randomLHS
, maximinLHS
, augmentLHS
data(normal) # generate a design X <- multiDimLHS(N=5,qsd$lower,qsd$upper,type="matrix") # augment design X rbind(X,multiDimLHS(N=1,qsd$lower,qsd$upper,X=X, method="augmentLHS",type="matrix"))