Learn R Programming

tidylearn (version 0.1.0)

tl_plot_residuals: Plot residuals for a regression model

Description

Plot residuals for a regression model

Usage

tl_plot_residuals(model, type = "fitted", ...)

Value

A ggplot object

Arguments

model

A tidylearn regression model object

type

Type of residual plot: "fitted" (default), "histogram", "predicted"

...

Additional arguments