View source: R/generate_design_grid.R
generate_design_grid | R Documentation |
Generate a grid with a specified resolution in the parameter space. The resolution for categorical parameters is ignored, these parameters always produce a grid over all their valid levels. For number params the endpoints of the params are always included in the grid.
generate_design_grid(param_set, resolution = NULL, param_resolutions = NULL)
param_set |
( |
resolution |
( |
param_resolutions |
(named |
Design
.
Other generate_design:
generate_design_lhs()
,
generate_design_random()
,
generate_design_sobol()
pset = ps(
ratio = p_dbl(lower = 0, upper = 1),
letters = p_fct(levels = letters[1:3])
)
generate_design_grid(pset, 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.