Learn R Programming

tidylearn (version 0.1.0)

tl_predict_polynomial: Predict using a polynomial regression model

Description

Predict using a polynomial regression model

Usage

tl_predict_polynomial(model, new_data, type = "response", level = 0.95, ...)

Value

Predictions

Arguments

model

A tidylearn polynomial 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