t sourceCode r">
<code class="sourceCode R"><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>, aggregate_fun <span class="op">=</span> <span class="va">mean</span>, na.rm <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span>
<span class="co">#&gt;   investor   DE_count</span>
<span class="co">#&gt; 1    QZ621 -0.2115755</span></code></pre></div>
<