Description Usage Arguments Examples
Display model residuals for a linear regression model
1 | fdPanelRegressionResiduals(mod, digits = 4, plotTitle = "Histogram", ...)
|
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. |
1 2 3 4 5 6 7 | library(flightdeck)
mod <- lm(mpg ~ ., data = mtcars)
if (interactive()){
mod %>%
fdPanelRegressionResiduals(plotTitle = 'Histogram of Residuals') %>%
fdPreview
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.