Description Usage Arguments Value Examples
View source: R/residual_plots.R
Creates scatter plot of residuals and fitted values (and optionally also selected variables).
1 | residual_boxplots(df, model, ...)
|
df |
A data frame |
model |
A model object or valid formula |
... |
Any number of (unquoted) variable names to plot the residuals against. |
A boxplot of the relationship between the supplied variable(s) and the residuals
1 2 | mtcars %>%
residual_boxplots(mpg ~ hp + cyl, am)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.