 FORD to select a specific number of variables instead of using an automatic stopping rule.</p>
<h2 id="sec:foci-with-5-selected-features">FOCI with 5 selected features</h2>
<pre><code class="language-r">result_foci_2 &lt;- foci(Y, X, num_features = 5, stop = FALSE, numCores = 1)
result_foci_2
#&gt; $selectedVar
#&gt;    index  names
#&gt;    &lt;num&gt; &lt;char&gt;
#&gt; 1:     4     X4
#&gt; 2:     1     X1
#&gt; 3:     2     X2
#&gt; 4:     3     X3
#&gt; 5:    66    X66
#&gt; 
#&gt; $stepT
#&gt; [1] 0.