2 0.04971805 </span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># Partial AUC</span></span></span>
<span class="r-in"><span><span class="va">pAUC</span> <span class="op">&lt;-</span> <span class="kw">function</span><span class="op">(</span><span class="va">pred</span>, <span class="va">target</span>, <span class="va">p</span> <span class="op">=</span> <span class="fl">0.1</span><span class="op">)</span> <span class="op">{</span></span></span>
<span class="r-in"><span> 