
A Param to describe untyped parameters.
R6::R6Class object inheriting from Param.
ParamUty$new(id, default = NO_DEF, tags = character(), custom_check = NULL)
Arguments of Param, and additionally:
custom_check
:: function()
Custom function to check the feasibility. Defaults to NULL
.
Fields of Param, and additionally:
lower
:: numeric(1)
Lower bound.
Always NA
for this parameter.
upper
:: numeric(1)
Upper bound.
Always NA
for this parameter.
levels
:: NULL
Allowed levels.
Always NULL
for this parameter.
nlevels
:: numeric(1)
Number of categorical levels.
Always Inf
for this parameter.
is_bounded
:: FALSE
Are the bounds finite?
Always FALSE
for this parameter.
See Param.
# NOT RUN {
ParamUty$new("untyped", default = Inf)
# }
Run the code above in your browser using DataLab