.if_value {cohortBuilder} | R Documentation |
Return default value if values are equal
.if_value(x, value, default)
x |
Condition to be compared with value. |
value |
Value to be compared with x. |
default |
Default value to be returned when 'x' is identical to 'value'. |
Evaluated condition or provided default value.