Description Usage Arguments Details Value
geom_residuals
makes a diagnostic plot of residuals versus
fitted data for linear models. Does not yet accept logistic models
1 | geom_residuals(model)
|
model |
Model to be analyzed, currently only accepts linear models. |
Generate residuals versus fitted plot. Functions as an additional geom layer on ggplot. Models must be linear/gaussian in nature. Covariates can be included in the model.
Returns a ggplot object of geom type, other layers can be added on as seen in example.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.