Question: Method 2 : Use R function ` predict ( ) ` to predict. ` ` ` { r } # code to predict distance for

Method 2: Use R function `predict()`to predict.
```{r}
# code to predict distance for a speed at 19 mph.
predict(model, newdata = data.frame(speed =19))
#TYPE 25 AFTER THE LAST EQUAL SIGN IN ORDER TO ANSWER QUESTION 24
predict(model, newdata = data.frame(speed =25))
```
24. Predict the distance taken to stop with speed of cars at 25 mph using R output.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!