Builds a range comparison for use inside attribute functions such as age,
valueAsNumber, startDate, etc.
Accepts integer, numeric, or Date inputs.
bt(x, y)
# S4 method for integer
bt(x, y)
# S4 method for numeric
bt(x, y)
# S4 method for Date
bt(x, y)Lower bound (integer, numeric, or Date).
Upper bound; must match type of x.
An opAttribute for use inside attribute constructor functions.
# Age between 18 and 65
conditionOccurrence(cs(1L, name = "test"), age(bt(18L, 65L)))
#> <Capr ConditionOccurrence Query> test