Description Usage Arguments Value Examples
View source: R/plot_residuals.R
Plot residuals against fitted values to check for homoscedasticity.
1 | plot_residuals(model)
|
model |
an lm object. The function will extract residuals and fitted values from the model object. |
a ggplot object. A plot showing residual on the y-axis and fitted value on the x-axis.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.