character"</span></a></code></pre></div>
<p>And <code><a href="reference/ifthenelse.html">if_else()</a></code> is a wrapper around <code><a href="http://www.rdocumentation.org/packages/base/topics/ifelse">base::ifelse()</a></code>.</p>
<p>If you want these function to return a value, you need to wrap these values into a mapper / a function. E.g, to return a vector, you’ll need to write <code><a href="reference/ifthenelse.html">if_then(1, is.numeric, ~ "Yay")</a></code>.</p>
<div class="sourceCode" id="cb2