View source: R/supervised-regression.R
| tl_predict_linear | R Documentation |
Predict using a linear regression model
tl_predict_linear(model, new_data, type = "response", level = 0.95, ...)
model |
A tidylearn linear model object |
new_data |
A data frame containing the new data |
type |
Type of prediction: "response" (default), "confidence", "prediction" |
level |
Confidence level for intervals (default: 0.95) |
... |
Additional arguments |
Predictions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.