View source: R/generate_design_sobol.R
generate_design_sobol | R Documentation |
Generate a space-filling design using a Sobol sequence. Dependent
parameters whose constraints are unsatisfied generate NA
entries in
their respective columns.
Uses spacefillr::generate_sobol_set.
Note that non determinism is achieved by sampling the seed argument via
sample(.Machine$integer.max, size = 1L)
.
generate_design_sobol(param_set, n)
param_set |
( |
n |
( |
Design
.
Other generate_design:
generate_design_grid()
,
generate_design_lhs()
,
generate_design_random()
pset = ps(
ratio = p_dbl(lower = 0, upper = 1),
letters = p_fct(levels = letters[1:3])
)
if (requireNamespace("spacefillr", quietly = TRUE)) {
generate_design_sobol(pset, 10)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.