Generate a suite of diagnostic plots¶
Source: R/plotDiagnostics.R ยท Help: ?plotDiagnosticSuite
This convenience wrapper returns residual-vs-fitted and spread-level plots to help visually assess heteroscedastic patterns.
Usage¶
Arguments¶
model- A fitted model of class
lm. enhanced- Logical, passed to
plotResidualsFitted().TRUEreturns what the deprecatedplotDiagnosticSuiteEnhanced()returned.
Value¶
A list with elements residuals_fitted and spread_level, each a
ggplot object.