ps = ParamSet$new(list(
ParamDbl$new("ratio", lower = 0, upper = 1),
ParamFct$new("letters", levels = letters[1:3])
))
if (requireNamespace("spacefillr", quietly = TRUE)) {
generate_design_sobol(ps, 10)
}
Run the code above in your browser using DataLab