ggplot2 layer for plotting a fitted vs. residual scatter plot.
Usage
stat_fitted_resid(mapping = ggplot2::aes(), alpha = 0.5, ...)Arguments
- mapping
Additional aesthetic mappings to add to the layer, e.g.
aes(color = some_var). Ifmappingincludes a required aesthetic (e.g.x,y), the supplied value is ignored in favor of the default and a warning is issued.- alpha
Adjust transparency of points.
- ...
Additional arguments passed on to
geom_point().
