View source: R/make_param_set.R
make_param_set | R Documentation |
Creates a ParamSet for the columns of dt
. Depending on the class of a column, a different
Domain is created:
double
: p_dbl()
integer
: p_int()
character
: p_fct()
(with unique values as levels)
factor
: p_fct()
(with factor levels as levels)
make_param_set(dt, lower = NULL, upper = NULL)
dt |
( |
lower |
(numeric() | NULL) |
upper |
(numeric() | NULL) |
A ParamSet for the features of dt
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.