Suppose I have this code:
cond = true a = cond ? 1 : 2 b = ifelse(cond, 1, 2)
What is the difference between the two operations?