tl_predict_linear: Predict using a linear regression model

View source: R/supervised-regression.R

tl_predict_linearR Documentation

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

Value

Predictions


tidylearn documentation built on Feb. 6, 2026, 5:07 p.m.