A function that produces ggplot equivalents of regression diagnostic plots. Works only when response is quantitative
1 | lm_diagnostic_plots(model)
|
1 | lm_diagnostic_plots(fit_1), where fit_1 = lm(y~..., data = ...)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.