tl_predict_linear: Predict using a linear regression model
Description
Predict using a linear regression model
Usage
tl_predict_linear(model, new_data, type = "response", level = 0.95, ...)
Arguments
- 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