Create Numeric Option Specification
Usage
numericOption(
  min = -Inf,
  max = Inf,
  nullAllowed = FALSE,
  naAllowed = FALSE,
  expectedLength = 1
)Arguments
- min
- Minimum allowed value. Defaults to - -Inf.
- max
- Maximum allowed value. Defaults to - Inf.
- nullAllowed
- Logical flag indicating whether - NULLis permitted. Defaults to- FALSE.
- naAllowed
- Logical flag indicating whether - NAvalues are permitted. Defaults to- FALSE.
- expectedLength
- Expected length of the option value. Use - NULLfor any length,- 1for scalar (default), or a positive integer for specific length.