residual_boxplots: Creates scatter plot of residuals and fitted values (and...

Description Usage Arguments Value Examples

View source: R/residual_plots.R

Description

Creates scatter plot of residuals and fitted values (and optionally also selected variables).

Usage

1

Arguments

df

A data frame

model

A model object or valid formula

...

Any number of (unquoted) variable names to plot the residuals against.

Value

A boxplot of the relationship between the supplied variable(s) and the residuals

Examples

1
2
mtcars %>%
    residual_boxplots(mpg ~ hp + cyl, am)

jameshasbany/fastlm documentation built on July 26, 2020, 9:40 a.m.