This infix function is similar to
%||% but is vectorised
and provides a default value for missing elements. It is faster
base::ifelse() and does not perform type conversions.
x %|% y
The original values.
The replacement values. Must be of length 1 or the same length as