code>disposition_compute</code> interface, since it designed to handle many situations.</p>
<div class="sourceCode" id="cb12"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span class="va">de</span> <span class="op">&lt;-</span> <span class="fu"><a href="../reference/disposition_effect.html">disposition_compute</a></span><span class="op">(</span>gainslosses <span class="op">=</span> <span class="va">p_res</span><span class="op">)</span>
<span class="fu"><a href="https://rdrr.io/r/utils/head.