:</span><span class="fu"><a href="https://rdrr.io/pkg/SuperLearner/man/predict.superlearner.html" class="external-link">predict.SuperLearner</a></span><span class="op">(</span><span class="va">full_fit</span><span class="op">)</span><span class="op">$</span><span class="va">pred</span></span></span>
<span class="r-in"><span><span class="co"># fit the data with only X1</span></span></span>
<span class="r-in"><span><span class="va">reduced_fit</span> <span class="op">&lt;-</span> <span class="fu">SuperLearner