residplot {vannstats} | R Documentation |
This function creates a residual plot (residplot) on a data frame of the variables in an equation.
residplot(df, formula)
df |
data frame to read in. |
formula |
the variables in the regression model, |
data <- mtcars
residplot(data, mpg ~ wt + am)