Question: 81 pts What does this code do? Assume test is a tibble with data and model is a linear regression model. test % mutate(predict(model, new_data
81 pts What does this code do? Assume test is a tibble with data and model is a linear regression model. test <- test %>% mutate(predict(model, new_data = test)) Group of answer choices Replaces the test tibble with a vector of data predicted by the model Adds a new column to the test tibble with the calculated r-value for each row Replaces the test tibble with the calculated terms and intercept for the model Adds a new column to the test tibble containing predicted values for the dependent variable
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
