ols_plot_diagnostics: Diagnostics panel

View source: R/ols-diagnostics-panel.R

ols_plot_diagnosticsR Documentation

Diagnostics panel

Description

Panel of plots for regression diagnostics.

Usage

ols_plot_diagnostics(model, print_plot = TRUE)

Arguments

model

An object of class lm.

print_plot

logical; if TRUE, prints the plot else returns a plot object.

Examples

model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars)
ols_plot_diagnostics(model)


olsrr documentation built on May 29, 2024, 12:35 p.m.