This is an old version, view current version.
14.8 if_else function
Removed: The function if_else is no longer available.
Replacement: Use the conditional operator which allows more
flexibility in the types of b and c and is much more efficient in
that it only evaluates whichever of b or c is returned.
x = if_else(a, b, c);with
x = a ? b : c;Removed In: Stan 2.33