ing different KNN distances as anomaly scores</span></span></span>
<span class="r-in"><span><span class="va">y3</span> <span class="op">&lt;-</span> <span class="va">knnobj</span><span class="op">$</span><span class="va">dist</span><span class="op">[</span> ,<span class="fl">10</span><span class="op">]</span></span></span>
<span class="r-in"><span><span class="va">y4</span> <span class="op">&lt;-</span> <span class="va">knnobj</span><span class="op">$</span><span class="va">dist</span><span class="op">[</sp