Builds an exclusion range comparison for use inside attribute functions. Accepts integer, numeric, or Date inputs.
nbt(x, y)
# S4 method for integer
nbt(x, y)
# S4 method for numeric
nbt(x, y)
# S4 method for Date
nbt(x, y)Lower bound (integer, numeric, or Date).
Upper bound; must match type of x.
An opAttribute for use inside attribute constructor functions.
# Age outside 18-65
conditionOccurrence(cs(1L, name = "test"), age(nbt(18L, 65L)))
#> <Capr ConditionOccurrence Query> test