powered by
Returns different values depending on whether a test is TRUE or FALSE.
TRUE
FALSE
if_else(test, yes, no)
An object which can be coerced to a logical value.
Value returned if test is TRUE.
test
Value returned if test is FALSE.
ifelse