Description Usage Arguments Details Examples
This function generates a series of plots that can be used to check some model assumptions in linear models.
1 | diagnosis(mod)
|
mod |
A model object |
diagnosis |
A function for plotting model diagnostics |
The left panel shows residuals as a function of fitted values and is useful for checking homoskedasticity.
The middle panel plots a histogram of the residuals with a vertical discontinuous line that represents the mean.
The right panel provides a qq-plot of the residuals.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.