/span><span class='op'>)</span></pre>

    <h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
    <table class="ref-arguments">
    <colgroup><col class="name" /><col class="desc" /></colgroup>
    <tr>
      <th>pred</th>
      <td><p>R logical or a tensor.</p></td>
    </tr>
    <tr>
      <th>true_fn, false_fn</th>
      <td><p>a <code><a href='https://rdrr.io/r/base/tilde.html'>~</a></code> function, a function, or something coercible to
a function via <code>as.f