halanobis</span>(<span class='no'>X</span>, <span class='no'>mu</span>, <span class='no'>mcov</span>), <span class='fl'>10</span>))

<span class='co'># }</span><span class='co'># NOT RUN {</span>
<span class='co'># Performance comparison</span>
<span class='fu'>library</span>(<span class='no'>microbenchmark</span>)

<span class='no'>a</span> <span class='kw'>&lt;-</span> <span class='fu'>cbind</span>(
  <span class='fu'>maha</span>(<span class='no'>X</span>, <span class='no'>mu</span>, <span class='no'>mcov