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

---



```r
lm_spec &lt;- 
   linear_reg() %&gt;% # Pick linear regression
   set_engine(engine = "lm") # set engine

lm_spec
## Linear Regression Model Specification (regression)
## 
## Computational engine: lm
```

---
class: middle, center

# `fit_data()`

Train a model by fitting a model. Returns a parsnip model fit.


```r
fit_data(Sale_Price ~ Gr_Liv_Area, model = lm_spec, data = 