ParamLgl

0th

Percentile

Logical Parameter

A Param to describe logical parameters.

Keywords
datasets
Format

R6::R6Class object inheriting from Param.

Construction

ParamLgl$new(id, special_vals = list(), default = NO_DEF, tags = character())

See Arguments of Param.

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 :: logical(2) Allowed levels. Always c(TRUE, FALSE) for this parameter.

  • nlevels :: Inf Number of categorical levels. Always 2 for this parameter.

  • is_bounded :: TRUE Are the bounds finite? Always TRUE for this parameter.

Methods

See Param.

See Also

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

Aliases
  • ParamLgl
Examples
# NOT RUN {
ParamLgl$new("flag", default = TRUE)
# }
Documentation reproduced from package paradox, version 0.1.0, License: LGPL-3

Community examples

Looks like there are no examples yet.