powered by
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. Function which checks the input. Must return 'TRUE' if the input is valid and a string with the error message otherwise. Defaults to NULL, which means that no check is performed.
custom_check
function()
NULL
Fields of Param, and additionally:
lower :: numeric(1) Lower bound. Always NA for this parameter.
lower
numeric(1)
NA
upper :: numeric(1) Upper bound. Always NA for this parameter.
upper
levels :: NULL Allowed levels. Always NULL for this parameter.
levels
nlevels :: numeric(1) Number of categorical levels. Always Inf for this parameter.
nlevels
Inf
is_bounded :: FALSE Are the bounds finite? Always FALSE for this parameter.
is_bounded
FALSE
See Param.
Other Params: ParamDbl, ParamFct, ParamInt, ParamLgl, Param
ParamDbl
ParamFct
ParamInt
ParamLgl
Param
# NOT RUN { ParamUty$new("untyped", default = Inf) # }
Run the code above in your browser using DataLab