View source: R/generate_design_random.R
generate_design_random | R Documentation |
Generates a design with randomly drawn points.
Internally uses SamplerUnif
, hence, also works for ParamSets with dependencies.
If dependencies do not hold, values are set to NA
in the resulting data.table.
generate_design_random(param_set, n)
param_set |
( |
n |
( |
Design
.
Other generate_design:
generate_design_grid()
,
generate_design_lhs()
,
generate_design_sobol()
pset = ps(
ratio = p_dbl(lower = 0, upper = 1),
letters = p_fct(levels = letters[1:3])
)
generate_design_random(pset, 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.