Display model residuals for a linear regression model

fdPanelRegressionResiduals(mod, digits = 4, plotTitle = "Histogram", ...)

Arguments

mod
lm model object with a residuals method
digits
number of digits to display in the summary statistics table
plotTitle
title of the histogram.
...
additional arguments. not used currently.

Examples

library(flightdeck)
mod <- lm(mpg ~ ., data = mtcars)
if (interactive()){
  mod %>%
    fdPanelRegressionResiduals(plotTitle = 'Histogram of Residuals') %>%
    fdPreview
}