View source: R/hype_par_ordered.R
par_ordered | R Documentation |
Hyperparameter of discrete (factor) variable
par_ordered(name, values)
name |
Name of the parameter, must match the input to 'eval_func'. |
values |
Vector of values |
p1 <- par_ordered('x1', c('a', 'b', 'c'))
class(p1)
print(p1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.