Skip to content

Run registered diagnostic plots

Source: R/diagnosticsRegistry.R ยท Help: ?runDiagnosticPlots

Run registered diagnostic plots

Usage

runDiagnosticPlots(
  model,
  plots = c("residuals_fitted", "spread_level", "density", "qq", "bubble_variance")
)

Arguments

model
A fitted lm or glm object
plots
Character vector of plot names to generate

Value

Named list of ggplot objects

Examples

runDiagnosticPlots(lm(mpg ~ wt, mtcars))