Description Usage Arguments Value Author(s) See Also Examples
The function generates or augments a multidimensional design in a hyperbox.
1 2 | 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
1 2 3 4 5 6 7 | 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"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.