Learn R Programming

tidylearn (version 0.1.0)

tl_plot_intervals: Create confidence and prediction interval plots

Description

Create confidence and prediction interval plots

Usage

tl_plot_intervals(model, new_data = NULL, level = 0.95, ...)

Value

A ggplot object

Arguments

model

A tidylearn regression model object

new_data

Optional data frame for prediction (if NULL, uses training data)

level

Confidence level (default: 0.95)

...

Additional arguments