powered by
`ggplot2` layer for plotting a fitted vs. residual scatter plot.
stat_fitted_resid(alpha = 0.5, ...)
A `ggplot2` layer for plotting a fitted vs. residual scatter plot.
Adjust transparency of points.
Currently ignored. For extendability.
data(mtcars) model <- lm(mpg ~ cyl + disp + hp, data = mtcars) ggplot2::ggplot(data = model) + stat_fitted_resid()
Run the code above in your browser using DataLab