">:</span><span class="countdown-digits seconds">00</span></code>
</div>

---


```r
set.seed(100) # Important!

ames_split &lt;- initial_split(ames)

lm_split &lt;- fit_split(Sale_Price ~ Gr_Liv_Area, 
                      model = lm_spec, 
                      split = ames_split)

lm_split %&gt;% 
  collect_metrics()
## # A tibble: 2 x 3
##   .metric .estimator .estimate
##   &lt;chr&gt;   &lt;chr&gt;          &lt;dbl&gt;
## 1 rmse    standard   53885.   
## 2 rsq     standard       0.568
```

---
class