Learn R Programming

comparer (version 0.2.4)

par_unordered: Hyperparameter of discrete (factor) variable

Description

Hyperparameter of discrete (factor) variable

Usage

par_unordered(name, values)

Arguments

name

Name of the parameter, must match the input to `eval_func`.

values

Vector of values

Examples

Run this code
p1 <- par_unordered('x1', c('a', 'b', 'c'))
class(p1)
print(p1)

Run the code above in your browser using DataLab