 <span class="op">=</span> <span class="va">type</span><span class="op">)</span></span></span>
<span class="r-err co"><span class="r-pr">#&gt;</span> <span class="error">Error in predict(models[[i]], data$ranger_data):</span> object 'model' not found</span>
<span class="r-in"><span><span class="va">score</span> <span class="op">&lt;-</span></span></span>
<span class="r-in"><span>  <span class="fu">score_models</span><span class="op">(</span><span class="va">model</span>,</span></span>
<span class="r-in"