generate_design_lhs {paradox} | R Documentation |
Generate a Space-Filling LHS Design
Description
Generate a space-filling design using Latin hypercube sampling. Dependent
parameters whose constraints are unsatisfied generate NA
entries in
their respective columns.
Usage
generate_design_lhs(param_set, n, lhs_fun = NULL)
Arguments
param_set |
( |
n |
( |
lhs_fun |
( |
Value
See Also
Other generate_design:
generate_design_grid()
,
generate_design_random()
,
generate_design_sobol()
Examples
pset = ps(
ratio = p_dbl(lower = 0, upper = 1),
letters = p_fct(levels = letters[1:3])
)
if (requireNamespace("lhs", quietly = TRUE)) {
generate_design_lhs(pset, 10)
}
[Package paradox version 1.0.1 Index]