Diagnostics panel
Panel of plots for regression diagnostics.
ols_plot_diagnostics(model, print_plot = TRUE)
model
: An object of class lm
.print_plot
: logical; if TRUE
, prints the plot else returns a plot object.model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars) ols_plot_diagnostics(model)
Useful links