paradox (version 0.1.0)

ParamUty: Untyped Parameter

Description

A Param to describe untyped parameters.

Arguments

Format

R6::R6Class object inheriting from Param.

Construction

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

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.

Methods

See Param.

See Also

Other Params: ParamDbl, ParamFct, ParamInt, ParamLgl, Param

Examples

Run this code
# NOT RUN {
ParamUty$new("untyped", default = Inf)
# }

Run the code above in your browser using DataCamp Workspace